Python Pandas
# 创建对象
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051521. 通过传递一个list对象来创建一个Series,pandas会默认创建整型索引import pandas as pdimport numpy as nps = pd.Series([1,3,5,np.nan])# print(s)# 0 1.0# 1 3.0# 2 5.0# 3 NaN# dtype: float642. 通过传递一个numpy...
more...









