最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時綁定郵箱和手機立即綁定

IndexError: too many indices for array



fill_fre_top_5(index_name)

Traceback (most recent call last):


? File "<ipython-input-86-24a86b21d71c>", line 1, in <module>

? ? fill_fre_top_5(index_name)


? File "<ipython-input-81-dc082662d61b>", line 6, in fill_fre_top_5

? ? new_array[0,len(x)] = x


IndexError: too many indices for array


求解為什么出錯... 跟老師敲的一樣的啊



正在回答

1 回答

?new_array[0,len(x)] = x應該是?new_array[0:len(x)] = x,代表重新給數(shù)組賦值?

1 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
Python制作數(shù)據(jù)分析工具
  • 參與學習       29845    人
  • 解答問題       33    個

用Python制作一個高效的數(shù)據(jù)診斷工具

進入課程

IndexError: too many indices for array

我要回答 關注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號