Data Science, Data Analysis, Python, Open Source, Coding.
color. Data types Now we figure out the data types. Here we filter categorical columns and catch variables encoded as numeric but with less than 15 classes, so we encode them as categorical instead. Note, 15 is arbitrary, can be changed depending on domain knowledge about dataset. We also catch