在list列表中,max(list)可以得到list的最大值,list.index(max(list))可以得到最大值對應的索引但在numpy中的array沒有index方法,取而代之的是where ...
確定! 回上一頁