Fix: save csv with nice column order
This commit is contained in:
parent
28fc41315f
commit
98d9fd4026
@ -343,6 +343,7 @@ def update_competence_fig(data):
|
||||
def save_scores(data, csv):
|
||||
try:
|
||||
scores = pd.DataFrame.from_records(data)
|
||||
scores = scores_table_column_order(scores)
|
||||
scores.to_csv(csv, index=False)
|
||||
except:
|
||||
return [f"Soucis pour sauvegarder à {datetime.today()} dans {csv}"]
|
||||
|
Loading…
Reference in New Issue
Block a user