From e83749ba9afb49eb52f25ceb4aa33900083a9ee2 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Tue, 24 Jun 2025 18:49:33 +0200 Subject: [PATCH] fixed: Starting with pandas version 3.0 all arguments of to_hdf except for the argument 'path_or_buf' will be keyword-only --- stand/utils/dfh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/utils/dfh.py b/stand/utils/dfh.py index 5cda416..a11e818 100644 --- a/stand/utils/dfh.py +++ b/stand/utils/dfh.py @@ -41,7 +41,7 @@ def dump_non_empty_df(df, fn, key="data"): print("<<< skip dumping empty dataframe") return print(f"<<< dump dataframe to {fn}") - df.to_hdf(fn, key) + df.to_hdf(fn, key=key) backup(df, fn, key) #TODO: test then remove