diff --git a/webapp/pages/1_visualizations.py b/webapp/pages/1_visualizations.py index 9fcf1da..1268329 100644 --- a/webapp/pages/1_visualizations.py +++ b/webapp/pages/1_visualizations.py @@ -107,6 +107,6 @@ def show_stacked_bar_chart(df: pd.DataFrame): df["Income"] = df["amount"].apply(lambda x: x if x > 0 else 0) df["Expenses"] = df["amount"].apply(lambda x: abs(x) if x < 0 else 0) df = df.drop(columns=["description", "date"]) - df = df.resample("ME").sum() + df = df.resample("MS").sum() show_stacked_bar_chart(df)