Memory usage knowledge check
Using categorical pandas
Series can save a lot of memory, sometimes as much as 90% of the original columns memory usage. If each of the columns listed is converted to a categorical Series, which column will save the most memory? The used_cars
dataset has been loaded for you.
This exercise is part of the course
Working with Categorical Data in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
