standardscaler().fit_transform(df) with_mean=False code example Example: fit(X).transform(X.astype(float) fit(X).transform(X.astype(float)