Jak uczynić kolumnę współczynnikiem pandy
df['col_name'] = df['col_name'].astype('category')
Comfortable Cardinal
df['col_name'] = df['col_name'].astype('category')