Combining rows in pandas,df.groupby(df.index).mean()