Skip to content

Commit

Permalink
Reformat with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoevvargas committed May 3, 2024
1 parent cc1edf8 commit dccefd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolkit/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dccefd7

Please sign in to comment.