mstz commited on
Commit
3327abc
1 Parent(s): d602b2a

Update arhythmia.py

Browse files
Files changed (1) hide show
  1. arhythmia.py +1 -1
arhythmia.py CHANGED
@@ -657,6 +657,6 @@ class Arhythmia(datasets.GeneratorBasedBuilder):
657
 
658
  if config == "has_arhythmia":
659
  data.loc[:, "type_of_arhythmia"] = data["type_of_arhythmia"].apply(lambda x: 0 if x == 0 else 1)
660
- data = data.rename(columns={"type_of_arhytmia": "has_arhythmia"})
661
 
662
  return data[list(features_types_per_config[config].keys())]
 
657
 
658
  if config == "has_arhythmia":
659
  data.loc[:, "type_of_arhythmia"] = data["type_of_arhythmia"].apply(lambda x: 0 if x == 0 else 1)
660
+ data = data.rename(columns={"type_of_arhythmia": "has_arhythmia"})
661
 
662
  return data[list(features_types_per_config[config].keys())]