pandas基础--1.pandas基础,Series,DataFrame
pandas是numpy的数据分析包series(一维序列),dataframe(二维表结构)import pandas as pdimport numpy as nps1 = pd.Series([4,-7,6,8])#创建Series,索引为默认值print(s1)out:0 41 -72 63 8dtype: int64---------------------------------------------------------------------
原创
2021-04-28 21:53:10 ·
177 阅读 ·
2 评论