Fav Pandas Hack

If you’re following along with me this week, you know I testing out Medium’s short form articles. In this final in a series of three tests, I present one of my favorite exploratory data analysis (EDA) hacks in Pandas and Python.

If you use pd.describe() you know that it produces summary statistics. So, the problem with pd.describe() is that it puts the variable names across the columns of the summary statistics table.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Ross Nelson

Adam Ross Nelson

Ask about my free career course. I mentor new (💫) and aspiring data scientists enter (🚪) and level up (📈) in the field.