columns = ['A', 'B','C'] #specify the column names for col in columns: df[col] = (df[col] - df[col].mean())/df[col].std()