mstz commited on
Commit
b873d90
1 Parent(s): 3cadf60

Upload arhythmia.py

Browse files
Files changed (1) hide show
  1. arhythmia.py +1 -1
arhythmia.py CHANGED
@@ -351,4 +351,4 @@ class Arrhythmia(datasets.GeneratorBasedBuilder):
351
  data = data[(data.t != "?") & (data.qrst != "?") & (data.p != "?") & (data.j != "?") & (data.heart_rate != "?")]
352
  data = data.astype({"t": int, "qrst": int, "p": int, "j": int, "heart_rate": int})
353
 
354
- return data[list(features_types_per_config["income"].keys())]
 
351
  data = data[(data.t != "?") & (data.qrst != "?") & (data.p != "?") & (data.j != "?") & (data.heart_rate != "?")]
352
  data = data.astype({"t": int, "qrst": int, "p": int, "j": int, "heart_rate": int})
353
 
354
+ return data[list(features_types_per_config[config].keys())]