建立dataframe並插入一行時報錯:ValueError: Shape of passed values is (1, X), indices imply (X, X)

list=[0,0,....0] shape(list)=1063 colum=[1,2,3....,1603] 試圖 test=pd.DataFrame(list,columns=id_column) 報錯ValueError: Shape of passed values is (1, 1603), indices imply (1603, 1603) 由於這裏column爲1603,它要求你
相關文章
相關標籤/搜索