How to Use Pandas to Get Your Data in the Format You Need

Learn the difference between long-form and wide-form data, and how to transition between them in Pandas.

Murtaza Ali
Towards Data Science
6 min readOct 13, 2022

--

Photo by David Becker on Unsplash

It’s a well-known fact among data scientists: your data will never be exactly the way you want it. You might get a somewhat organized spreadsheet or reasonable sensible tables, but there will…

--

--

PhD student at the University of Washington. Interested in human-computer interaction, data visualization, and computer science education.