Runtime warning in sklearn KMeans
I note that when you imported from the module, you were utilizing the StandardScaler class.
StandardScaler
Place this after pd.DataFrame
pd.DataFrame
Snippet:
standard_scaler = StandardScaler() df_scaled = scaler.fit_transform(standard_s)