I am working on the project and when I am doing k_mean and starting to transform the data, I found an error
This is my code:
df=[[‘STATE_T’, ‘Number of still births_T’, ‘Blood sample_T’, ‘Abdominal pain_T’, ‘Mode of delivery_T’, ‘Prolonged labour_T’, ‘Excessive bleeding_T’, ‘Bleeding_T’, ‘Upper back pain_T’, ‘Painful urination_T’, ‘Painful breasts_T’, ‘Dripping_T’, ‘Outcome of last completed pregnancy_T’]] = scaler.fit_transform(df[[‘STATE’, ‘Number of still births’, ‘Blood sample’, ‘Abdominal pain’, ‘Mode of delivery’, ‘Prolonged labour’, ‘Excessive bleeding’, ‘Bleeding’, ‘Upper back pain’, ‘Painful urination’, ‘Painful breasts’, ‘Dripping’, ‘Outcome of last completed pregnancy’]])
please help me!
I tried to change the names of the features and found the same error