Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
It is strongly suggested that you load data into a pandas DataFrame and handle categorical variables by specifying a
dtype
of"category"
for those categorical variables.df.cat_var = df.cat_var.astype …