Internal function to get categorical variables name from a data.frame.
.get_categorical_names(df)
df
data.frame to be checked
a vector with the name of categorical variables