From 1ce771d6d3e87dc6a7ccf8ee95ed8e2a717911ac Mon Sep 17 00:00:00 2001 From: Joseph Turian Date: Thu, 2 Sep 2021 14:03:08 +0200 Subject: [PATCH] typo --- hearpreprocess/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hearpreprocess/pipeline.py b/hearpreprocess/pipeline.py index 87fddd84..f27671f3 100644 --- a/hearpreprocess/pipeline.py +++ b/hearpreprocess/pipeline.py @@ -377,7 +377,7 @@ def run(self): # Save the label count for each split for split, split_df in metadata.groupby("split"): json.dump( - splitdf["label"].value_counts(normalize=True).to_dict(), + split_df["label"].value_counts(normalize=True).to_dict(), self.workdir.joinpath(f"labelcount_{split}.json").open("w"), indent=True, )