Five Simple Pandas Tricks

Andrew Jamieson
The Startup
Published in
3 min readJan 25, 2021

--

These are a few tricks that I’ve found helpful. Hopefully, you will too.

Photo by Debbie Molle on Unsplash

1. Unique Values in Each Column

So you’ve loaded up a Dataframe and are ready to explore. Along with the usual ways of taking a first glance at your data …

df.info(), df.describe() and df.shape

--

--

Andrew Jamieson
The Startup

Andrew has an analytics background with over 20 years of experience in various industries, working with world-leading brands.