下面我列出了我的对象countiespop返回的内容以及对象的类型。我无法找到一种专门创建3'STNAME'的系列方法。在python熊猫中编制一系列的索引
countiespop
Returns
STNAME
California 15924150
Texas 8269632
Illinois 6815061
Name: CENSUS2010POP, dtype: int64
type(countiespop)
返回 pandas.core.series.Series
谢谢编辑!这是我的第一篇文章! –