I need to divide all but the first columns in a DataFrame by the first column.
Here\'s what I\'m doing, but I wonder if this isn\'t the \"right\" pandas way:
I believe df[['B','C']].div(df.A, axis=0) and df.iloc[:,1:].div(df.A, axis=0) work.
df[['B','C']].div(df.A, axis=0)
df.iloc[:,1:].div(df.A, axis=0)