PYTHON

How to Use MultiIndex in Pandas to Level Up Your Analysis

An introduction to hierarchical indexing on DataFrames for sophisticated data analysis

Byron Dolon
Towards Data Science
10 min readJun 23, 2020

--

Image created by little sister

What if you could have more than one column as in your DataFrame’s index?

The multi-level index feature in Pandas allows you to do just that. A regular Pandas…

--

--

Medium has become a place to store my “how to do tech stuff” type guides. Come check out my notes on data-related shenanigans!