standardize columns in pandas

Solutions on MaxInterview for standardize columns in pandas by the best coders in the world

showing results for - "standardize columns in pandas"
Leon
12 Jan 2018
1columns = ['A', 'B','C'] #specify the column names
2for col in columns:
3  df[col] = (df[col] - df[col].mean())/df[col].std() 
4