Cookbook
  • References/Python/Pandas/Manual

This is a repository for short and sweet examples and links for useful pandas recipes. We encourage users to add to this documentation. Adding interesting links and/or

2025-01-10 15:47:30
Essential Basic Functionality
  • References/Python/Pandas/Manual

Here we discuss a lot of the essential functionality common to the pandas data structures. Here?s how to create some of the objects used in the examples from the

2025-01-10 15:47:30
Comparison with SQL
  • References/Python/Pandas/Manual

Since many potential pandas users have some familiarity with SQL

2025-01-10 15:47:30
Sparse data structures
  • References/Python/Pandas/Manual

Note The SparsePanel class has been removed in 0.19.0 We have

2025-01-10 15:47:30
Installation
  • References/Python/Pandas/Manual

The easiest way for the majority of users to install pandas is to install it as part of the

2025-01-10 15:47:30
Group By: split-apply-combine
  • References/Python/Pandas/Manual

By ?group by? we are referring to a process involving one or more of the following steps Splitting the data into groups

2025-01-10 15:47:30
Indexing and Selecting Data
  • References/Python/Pandas/Manual

The axis labeling information in pandas objects serves many purposes: Identifies data (i.e. provides metadata) using known indicators

2025-01-10 15:47:30
Caveats and Gotchas
  • References/Python/Pandas/Manual

Using If/Truth Statements with pandas pandas follows the numpy convention of raising an error when you try to convert something to a bool

2025-01-10 15:47:30
Comparison with SAS
  • References/Python/Pandas/Manual

For potential users coming from SAS this page is meant

2025-01-10 15:47:30
Frequently Asked Questions (FAQ)
  • References/Python/Pandas/Manual

DataFrame memory usage As of pandas version 0.15.0, the memory usage of a dataframe (including the index) is shown when accessing

2025-01-10 15:47:30