I have a data frame df and there I want to convert some columns into category type. Using pandas I can do it like below way:
for col in categorical_collist: