In the columns "Diabetes_012", i want to replace "1" with "Diabetes". My code is not doing any changes in the dataset for the particular column
import pandas as pd
# reading the csv file
df = pd.read_csv("diabetes.csv")
# updating the column value/data
df['Diabetes_012'] = df['Diabetes_012'].replace({"1": 'Diabetes'})
# writing into the file
df.to_csv("diabetes1.csv", index=False)
print(df)