text_plain_output_1.png
"""from sklearn.preprocessing import LabelEncoder
En = LabelEncoder()
Enco_lab = En.fit_transform(data['bar_name'])
data.drop("bar_name", axis=1, inplace=True)
data["bar_name"] = Enco_lab"""