Sum values from DataFrame into Parent Index - Python/Pandas,df_sum = df.groupby('parent').sum()