Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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() 
  
 
PREVIOUS NEXT
Tagged: #column #standardization #pandas
ADD COMMENT
Topic
Name
1+2 =