Pandas 用户指南目录
“用户指南” 按主题划分区域涵盖了几乎所有Pandas的功能。每个小节都介绍了一个主题(例如“处理缺失的数据”),并讨论了Pandas如何解决问题,其中包含许多示例。
刚开始接触Pandas的同学应该从十分钟入门Pandas开始看起。
有关任何特定方法的更多信息,请参阅API参考。
- IO工具(文本,CSV,HDF5,…)
- 索引和数据选择器
- Different choices for indexing
- Basics
- Attribute access
- Slicing ranges
- Selection by label
- Selection by position
- Selection by callable
- IX indexer is deprecated
- Indexing with list with missing labels is deprecated
- Selecting random samples
- Setting with enlargement
- Fast scalar value getting and setting
- Boolean indexing
- Indexing with isin
- The
where()
Method and Masking - The
query()
Method - Duplicate data
- Dictionary-like
get()
method - The
lookup()
method - Index objects
- Set / reset index
- Returning a view versus a copy
- 多索引/高级索引
- 合并、联接和连接
- 重塑和数据透视表
- 处理文本字符串
- 处理丢失的数据
- 分类数据
- Nullable整型数据类型
- 可视化
- 计算工具
- 组操作: 拆分-应用-组合
- 时间序列/日期方法
- Overview
- Timestamps vs. Time Spans
- Converting to timestamps
- Generating ranges of timestamps
- Timestamp limitations
- Indexing
- Time/date components
- DateOffset objects
- Time Series-Related Instance Methods
- Resampling
- Time span representation
- Converting between representations
- Representing out-of-bounds spans
- Time zone handling
- 时间增量
- 样式
- 选项和设置
- 提高性能
- 稀疏数据结构
- 常见问题(FAQ)
- 烹饪指南