Skip to content

Commit

Permalink
Save data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Geng committed Jul 8, 2024
1 parent 7fa5e97 commit b26f17a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions benchmarks/benchmark-dependencies-methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit b26f17a

Please sign in to comment.