Divide multiple columns by another column in pandas

I believe df[['B','C']].div(df.A, axis=0) and df.iloc[:,1:].div(df.A, axis=0) work.

Leave a Comment