Pandas使用DataFrame出現錯誤:AttributeError: 'list' object has no attribute 'astype'

在使用Pandas的DataFrame時出現了錯誤:AttributeError: ‘list’ object has no attribute 'astype’ 代碼入下: import pandas as pd pop = {'Nevada': {2001: 2.4, 2002: 2.9}, 'Ohio': {2000: 1.5, 2001: 1.7, 2002: 3.6}} pd.Data
相關文章
相關標籤/搜索