Dtypes categóricos de pandas
nominal_attr = df.select_dtypes(include='category').columns
Gold Leaf
nominal_attr = df.select_dtypes(include='category').columns