how to calculate row average in panda data frame ? : I have pandas df with column, T max & T min. I want to calculate T mean on next column. I did with this df['T mean']= df[['T max','T min']].mean(axis=1) but didnt worked out. I got T max as T mean. Could anybody help me?
