print(data['education'].unique()) # выведем все уникальные значения столбца education data['education'] = data['education'].str.lower()