From 9e12393125337d4dc367b04b59ee3502d0af1e4d Mon Sep 17 00:00:00 2001 From: Christian Geng Date: Mon, 3 Jun 2024 12:19:04 +0200 Subject: [PATCH] Save data. --- benchmarks/benchmark-dependencies-methods.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/benchmarks/benchmark-dependencies-methods.py b/benchmarks/benchmark-dependencies-methods.py index 526f1214..ce25caee 100644 --- a/benchmarks/benchmark-dependencies-methods.py +++ b/benchmarks/benchmark-dependencies-methods.py @@ -366,6 +366,11 @@ def astype(df, dtype): t = time.time() - t0 results.at[method, dtype] = t + +# ===== Save results ===== +fp_results = audeer.path(cache, "results_polars.csv") +results.to_csv(fp_results) + # ===== Print results ===== table = tabulate.tabulate(results, headers="keys", tablefmt="github", floatfmt=".3f") print(table)