Datasets:
Upload heart.py
Browse files
heart.py
CHANGED
@@ -154,6 +154,9 @@ class Heart(datasets.GeneratorBasedBuilder):
|
|
154 |
data = data.astype({"is_male": bool, "has_exercise_induced_angina": bool})
|
155 |
|
156 |
print(data.dtypes)
|
|
|
|
|
|
|
157 |
|
158 |
for row_id, row in data.iterrows():
|
159 |
data_row = dict(row)
|
|
|
154 |
data = data.astype({"is_male": bool, "has_exercise_induced_angina": bool})
|
155 |
|
156 |
print(data.dtypes)
|
157 |
+
print(data.head())
|
158 |
+
print(data.number_of_major_vessels_colored_by_flourosopy.unique())
|
159 |
+
print(data.thal.unique())
|
160 |
|
161 |
for row_id, row in data.iterrows():
|
162 |
data_row = dict(row)
|