Define the Correct DataType for Categorical Columns
blog.dailydoseofds.com
If your data has categorical columns, you should not represent them as int/string data type. Rather, Pandas provides an optimized data type specifically for categorical columns. This is especially handy when you are working with large data-driven projects.
Define the Correct DataType for Categorical Columns
Define the Correct DataType for Categorical…
Define the Correct DataType for Categorical Columns
If your data has categorical columns, you should not represent them as int/string data type. Rather, Pandas provides an optimized data type specifically for categorical columns. This is especially handy when you are working with large data-driven projects.