# Applying z-score normalisation scaler = StandardScaler() # Fitting the scaler to the data and transforming it df_scaled = pd.DataFrame(scaler.fit_transform(df_trimmed), columns = df_trimmed.columns)
# Applying z-score normalisation scaler = StandardScaler() # Fitting the scaler to the data and transforming it df_scaled = pd.DataFrame(scaler.fit_transform(df_trimmed), columns = df_trimmed.columns)