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