From dccefd720a32febdf6bac5e9970611a508bbb047 Mon Sep 17 00:00:00 2001 From: ricardoevvargas Date: Fri, 3 May 2024 16:08:14 -0300 Subject: [PATCH] Reformat with Black --- toolkit/misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolkit/misc.py b/toolkit/misc.py index f765d513..fc7a2de4 100644 --- a/toolkit/misc.py +++ b/toolkit/misc.py @@ -572,9 +572,9 @@ def plot_instance(class_number, instance_index, resample_factor): df_instance = pd.read_csv( instances_path_list[instance_index], sep=",", header=0 ) - + df_instance_resampled = resample(df_instance, resample_factor, class_number) - + df_drop_resampled = df_instance_resampled.drop(["timestamp", "class"], axis=1) df_drop_resampled.interpolate( method="linear", limit_direction="both", axis=0, inplace=True