Three ways to optimize your Pandas data frame's memory footprint

Published: 08 November 2022
on channel: Python and Pandas with Reuven Lerner
2,480
117

If you work with large data sets in Pandas, you'll quickly discover that they take up lots of memory. How can you stop wasting memory, and reduce the size of your data frame? In this video, I show you three techniques you can apply to nearly any project you work on.

The Jupyter notebook for this video (and all of my videos) is at https://github.com/reuven/youTube-not....

And don't forget my free, weekly "Better developers" newsletter, with new Python articles every week, at https://BetterDevelopersWeekly.com/.