摘要: 缺失值 Pandas 主要用 np.nan 表示缺失数据。 计算时,默认不包含空值。详见缺失数据 (opens new window)。 重建索引(reindex)可以更改、添加、删除指定轴的索引,并返回数据副本,即不更改原数据。 In [55]: df1 = df.reindex(index=da 阅读全文
posted @ 2021-11-10 20:12 不详·Christina 阅读(24) 评论(0) 推荐(0)