From ecd2540540139c0eb3731e2600e0bda584eca0f2 Mon Sep 17 00:00:00 2001 From: ferrari <maxence.ferrari@gmail.com> Date: Thu, 25 Mar 2021 10:23:43 +0100 Subject: [PATCH] Add tables requirement --- README.md | 1 + ipi_extract.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 76f229a..efbf28b 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ This program uses the following libraries (other versions might work): * pandas 0.24 * pydub 0.23 * pysoundfile 0.9 +* pytables 3.6 * python 3.6 * scipy 1.2 diff --git a/ipi_extract.py b/ipi_extract.py index d262239..49b5a06 100644 --- a/ipi_extract.py +++ b/ipi_extract.py @@ -735,7 +735,7 @@ def main(args): ref_dict['fig'].set_constrained_layout(False) plt.show() df = pd.DataFrame.from_dict(ref_dict['callback'].df, orient='index') - df.to_hdf(outpath, 'df') + df.to_hdf(outpath, 'df', format='table') return 0 -- GitLab