See how much memory each column consumes — handy for optimization.
Below are the 11 Bamboo Weekly exercises that use memory_usage on real-world data — try each one, then study the worked solution.
- Bamboo Weekly #154: University rankings
- Bamboo Weekly #131: Canadian border crossings
- Bamboo Weekly #128: Extreme heat
- Bamboo Weekly #112: Programming jobs
- Bamboo Weekly #104: Aviation accidents
- Bamboo Weekly #92: Climate disaster costs
- Bamboo Weekly #69: Election participation
- Bamboo Weekly #68: Dangerously hot weather
- Bamboo Weekly #64: Coal power
- Bamboo Weekly #51: Academy Awards
- Bamboo Weekly #43: Financial protection
Part of the Pandas Methods Index. See also practice by skill.