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 9e7f812 commit 3dcc087Copy full SHA for 3dcc087
1 file changed
openml/datasets/dataset.py
@@ -460,9 +460,10 @@ def _check_qualities(qualities):
460
qualities_ = {}
461
for xmlquality in qualities:
462
name = xmlquality['oml:name']
463
- if 'oml:value' not in xmlquality:
+
464
+ if xmlquality.get('oml:value', None) is None:
465
value = float('NaN')
- elif xmlquality['oml:value'] is None:
466
+ elif 'oml:value' not in xmlquality:
467
468
elif xmlquality['oml:value'] == 'null':
469
0 commit comments