Introduction
Using categorical data types helps save memory when working with repeated text values in data. It makes your data smaller and faster to use.
You have a column with many repeated text values, like colors or categories.
You want to reduce the memory your data uses to work faster.
You plan to do analysis on columns with limited unique values.
You want to prepare data for machine learning and reduce size.
You want to improve performance when filtering or grouping data.