数据重塑 DataCamp Learn Python for Data Science Interactively 高级索引 重置索引 >>> s2 = s.reindex(['a','c','d','e','b']) >>> s3 = s.reindex(range(5), method='bfill') 0 3 1 3 2 3 3 3 4 3 前向填充 后向填充 >>> df.reindex(range(4), method='ffill') Country Capital Population 0 Belgium Brussels 11190846 1 India New Delhi 1…

属性 信息
标题 Python数据科学速查表 - Pandas 进阶
所属目录 007-Python / Python 数据科学速查表
格式 PDF
大小 501 KB

本页面为个人媒体库编目信息,资源仅作个人存档与检索使用。