standardize columns in pandas

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
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