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
相关文章
相关标签/搜索