From 0b988fed3abda404cefc373c23f1b552d0635a59 Mon Sep 17 00:00:00 2001 From: Roderik-WU Date: Fri, 16 May 2025 13:50:49 +0200 Subject: [PATCH] Added the sum to the statistics tab I have found myself needing the sum of the values in a column frequently so this commit adds that column to the statistics tab. --- pandasgui/store.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandasgui/store.py b/pandasgui/store.py index 0c5f5b3..0841c2f 100644 --- a/pandasgui/store.py +++ b/pandasgui/store.py @@ -337,6 +337,7 @@ def refresh_statistics(self, force=False): "StdDev": df.std(numeric_only=True), "Min": df.min(numeric_only=True), "Max": df.max(numeric_only=True), + "Sum": df.sum(numeric_only=True), }, index=df.columns )