From 0f52a3fd128fe64777d3a6bdd3dbfc90cf012f29 Mon Sep 17 00:00:00 2001 From: Esther van der Laan Date: Mon, 4 Nov 2024 14:10:01 +0100 Subject: [PATCH] Update functions met pre-commit --- functions.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions.py b/functions.py index c09d72c..de74628 100644 --- a/functions.py +++ b/functions.py @@ -33,9 +33,12 @@ def update_user_csv(username, week_numbers, selected_category, notes): else: # Append new week entry - new_row = {"week": week, "druk": selected_category, "note": notes} # Example row + new_row = { + "week": week, + "druk": selected_category, + "note": notes, + } # Example row df = pd.concat([df, pd.DataFrame([new_row])], ignore_index=True) - # df = df.append( # {"week": week, "druk": selected_category, "note": notes},