Pandas

Analyze data with the Pandas data analysis library for Python. Start from the basics or see real-life examples of pros using Pandas to solve problems.

A Brief History of Pandas

A Brief History of Pandas

A nuclear test gone wrong, high finance, and some convenient code!

Matthew Alhonte
Matthew Alhonte
Pandas
Being REALLY Lazy With Multiple Aggregations in Pandas

Being REALLY Lazy With Multiple Aggregations in Pandas

Perform multiple aggregate functions simultaneously with Pandas 0.25

Matthew Alhonte
Matthew Alhonte
Code Snippet Corner
Splitting Columns With Pandas

Splitting Columns With Pandas

Split columns containing multiple values in your Pandas DataFrame into multiple columns, each containing a single value.

Matthew Alhonte
Matthew Alhonte
Code Snippet Corner
Comparing Rows Between Two Pandas DataFrames

Comparing Rows Between Two Pandas DataFrames

Find data that is not common between two Pandas DataFrames; effectively the opposite of finding an intersection of data.

Todd Birchard
Todd Birchard
Pandas
Recasting Low-Cardinality Columns as Categoricals

Recasting Low-Cardinality Columns as Categoricals

Downcast strings in Pandas to their proper data-types using HDF5.

Matthew Alhonte
Matthew Alhonte
Code Snippet Corner
Removing Duplicate Columns in Pandas

Removing Duplicate Columns in Pandas

Dealing with duplicate column names in your Pandas DataFrame.

Matthew Alhonte
Matthew Alhonte
Code Snippet Corner
Using Hierarchical Indexes With Pandas

Using Hierarchical Indexes With Pandas

Use Panda's multi-index to create smarter datasets. Speed up your workflow by easily selecting and aggregating related data.

Todd Birchard
Todd Birchard
Pandas
Reshaping Pandas DataFrames

Reshaping Pandas DataFrames

A guide to DataFrame manipulation using groupby, melt, pivot tables, pivot, transpose, and stack.

Todd Birchard
Todd Birchard
Pandas