SyntaxFix
Write A Post
Hire A Developer
Questions
The almost one-liner solution:
df2 = (df.ix[:,1:] - df.ix[:,1:].mean()) / df.ix[:,1:].std() df2['ID'] = df['ID']