Dapatkan daftar kategori variabel kategori (python panda)

cat_arr = numpy.array(pd.Categorical(dataframe['col_name']).categories)
Troubled Teira