数据规整化——重塑和旋转

重塑和旋转 1. 重塑索引 stack方法 1)基本使用 2)dropna参数 3)level参数 unstack方法 1)基本使用 2)level参数 stack 和unstack方法配合使用 格式转换——pivot方法 1)基本使用 2)value参数 1. 重塑索引 重排索引使用的是pandas模块的 stack和 unstack方法, stack方法 1)基本使用 对DataFrame使用
相关文章
相关标签/搜索