Matthew Alhonte

Matthew Alhonte

Supervillain in somebody's action hero movie. Experienced a radioactive freak accident at a young age which rendered him part-snake and strangely adept at Python.

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
World's on Fire

World's on Fire

The rainforest is on fire. Here are things you can do about it.

Matthew Alhonte
Matthew Alhonte
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
Downcast Numerical Data Types with Pandas

Downcast Numerical Data Types with Pandas

Using an Example Where We Downcast Numerical Columns.

Matthew Alhonte
Matthew Alhonte
Code Snippet Corner
Using Random Forests for Feature Selection with Categorical Features

Using Random Forests for Feature Selection with Categorical Features

Python helper functions for adding feature importance, and displaying them as a single variable.

Matthew Alhonte
Matthew Alhonte
Code Snippet Corner