Pandas DataFrame Całkowity wiersz
df.loc['Total'] = df.sum()
Inexpensive Impala
df.loc['Total'] = df.sum()
df.append(df.sum().rename('Total'))