2024-10-02 22:23:10 发布
网友
下面我列出了我的objectcountiespop返回的内容以及对象的类型。我找不到一种方法来创建一系列的3'STNAME'。你知道吗
countiespop Returns STNAME California 15924150 Texas 8269632 Illinois 6815061 Name: CENSUS2010POP, dtype: int64
type(countiespop)
退货 pandas.core.series.Series
pandas.core.series.Series
这就是你要找的吗?你知道吗
#create a series using the index of the current Series pd.Series(countiespop.index) Out[274]: 0 California 1 Texas 2 Illinois Name: a, dtype: object
这就是你要找的吗?你知道吗
相关问题 更多 >
编程相关推荐