[python]python錯誤集錦

ValueError: invalid literal for int() with base 10: ''
不能將非數字字符串轉換爲整型
object has no attribute 
對象調用一個沒有的方法(內建或自定義)
TypeError: only length-1 arrays can be converted to Python scalars
只有長度爲1的數組才能被轉換
AttributeError: 'NotImplementedType' object has no attribute 'T'
關於NotImplementedType,這個有多是在計算時將字符與數值運算會出現
相關文章
相關標籤/搜索