Lesson 6 of 6 in this module

13/20 in track

Memory optimization

pandas10 min

Locked lessonTransforms & shape

Memory optimization

Pandas keeps data in memory, so a large CSV can exhaust a laptop. Reduce memory with categories and smaller numeric types, or read the file in chunks.