Reduce Pandas Memory Footprint by Converting Repeated Strings to Categorical
Convert repeated string columns to pandas Categorical to cut memory by up to 90%. This guide shows a worked example, explains how it works, and lists limits and common pitfalls.