Datasets:
Upload arhythmia.py
Browse files- 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[
|
|
|
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())]
|