用python索引系列

2024-10-02 22:23:10 发布

您现在位置:Python中文网/ 问答频道 /正文

下面我列出了我的objectcountiespop返回的内容以及对象的类型。我找不到一种方法来创建一系列的3'STNAME'。你知道吗

countiespop

Returns
STNAME
California    15924150
Texas          8269632
Illinois       6815061
Name: CENSUS2010POP, dtype: int64

type(countiespop)

退货 pandas.core.series.Series


Tags: 对象方法name类型内容returnsdtypeillinois