getting a column that corresponds to the average of two columns in pandas

40

df_mean = df[["a", "b"]].mean()

Comments

Submit
0 Comments