摘要: 生成对象 用值列表生成 Series 时,Pandas 默认自动生成整数索引: In [3]: s = pd.Series([1, 3, 5, np.nan, 6, 8]) In [4]: s Out[4]: 0 1.0 1 3.0 2 5.0 3 NaN 4 6.0 5 8.0 dtype: fl 阅读全文
posted @ 2019-12-06 10:45 岑夫子 阅读(413) 评论(0) 推荐(0) 编辑