Skip to content

Commit

Permalink
Update functions met pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanderLaan committed Nov 4, 2024
1 parent 707a16d commit 0f52a3f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 0f52a3f

Please sign in to comment.