Answers for "standardization of dataframe example"

1

column standardization pandas

columns = ['A', 'B','C'] #specify the column names
for col in columns:
  df[col] = (df[col] - df[col].mean())/df[col].std()
Posted by: Guest on August-31-2021

Code answers related to "standardization of dataframe example"

Python Answers by Framework

Browse Popular Code Answers by Language