[python] Compute row average in pandas