We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fff169 commit 9e7f812Copy full SHA for 9e7f812
1 file changed
openml/datasets/dataset.py
@@ -455,13 +455,14 @@ def _data_features_supported(self):
455
return True
456
457
458
-
459
def _check_qualities(qualities):
460
if qualities is not None:
461
qualities_ = {}
462
for xmlquality in qualities:
463
name = xmlquality['oml:name']
464
- if xmlquality['oml:value'] is None:
+ if 'oml:value' not in xmlquality:
+ value = float('NaN')
465
+ elif xmlquality['oml:value'] is None:
466
value = float('NaN')
467
elif xmlquality['oml:value'] == 'null':
468
0 commit comments