The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'PHENO-SIM'}) and 1 missing columns ({'HPO-SIM'}).
This happened while the csv dataset builder was generating data using
hf://datasets/um-ids/translator-openpredict/baseline_features/diseases-pheno-sim.csv (at revision a9cd38bcefc885be4ba0859a03d8c9327263ee62)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
Disease1: int64
Disease2: int64
PHENO-SIM: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 608
to
{'Disease1': Value(dtype='int64', id=None), 'Disease2': Value(dtype='int64', id=None), 'HPO-SIM': Value(dtype='float64', id=None)}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1420, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1052, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'PHENO-SIM'}) and 1 missing columns ({'HPO-SIM'}).
This happened while the csv dataset builder was generating data using
hf://datasets/um-ids/translator-openpredict/baseline_features/diseases-pheno-sim.csv (at revision a9cd38bcefc885be4ba0859a03d8c9327263ee62)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Disease1
int64 | Disease2
int64 | HPO-SIM
float64 |
|---|---|---|
102,400
| 157,700
| 0.290247
|
102,400
| 303,110
| 0.122586
|
102,400
| 182,280
| 0.407788
|
102,400
| 600,082
| 0.497364
|
102,400
| 208,920
| 0.36016
|
102,400
| 147,480
| 0.223483
|
102,400
| 268,320
| 0.139896
|
102,400
| 151,590
| 0.328613
|
102,400
| 188,470
| 0.292189
|
102,400
| 217,150
| 0.238604
|
102,400
| 311,360
| 0.129321
|
102,400
| 608,320
| 0.316384
|
102,400
| 600,131
| 0.335462
|
102,400
| 147,530
| 0.288902
|
102,400
| 147,540
| 0.421997
|
102,400
| 145,500
| 0.097169
|
102,400
| 215,140
| 0.328793
|
102,400
| 102,500
| 0.469424
|
102,400
| 143,465
| 0.332192
|
102,400
| 161,900
| 0.334863
|
102,400
| 217,200
| 0.179137
|
102,400
| 223,350
| 0.154275
|
102,400
| 133,239
| 0.36565
|
102,400
| 604,278
| 0.146929
|
102,400
| 131,200
| 0.188949
|
102,400
| 139,393
| 0.405152
|
102,400
| 143,500
| 0.181722
|
102,400
| 168,100
| 0.295449
|
102,400
| 145,590
| 0.268984
|
102,400
| 137,400
| 0.326745
|
102,400
| 145,600
| 0.208922
|
102,400
| 600,263
| 0.03507
|
102,400
| 131,300
| 0.472828
|
102,400
| 254,200
| 0.160872
|
102,400
| 157,950
| 0.461607
|
102,400
| 604,416
| 0.323671
|
102,400
| 153,880
| 0.241414
|
102,400
| 600,351
| 0.216152
|
102,400
| 258,360
| 0.133267
|
102,400
| 115,000
| 0.30061
|
102,400
| 608,583
| 0.273383
|
102,400
| 233,810
| 0.14735
|
102,400
| 156,000
| 0.36496
|
102,400
| 266,600
| 0.114849
|
102,400
| 137,580
| 0.223663
|
102,400
| 608,622
| 0.405523
|
102,400
| 131,440
| 0.287329
|
102,400
| 121,201
| 0.329483
|
102,400
| 256,370
| 0.364142
|
102,400
| 121,200
| 0.336708
|
102,400
| 127,350
| 0.466208
|
102,400
| 184,700
| 0.244306
|
102,400
| 135,550
| 0.328516
|
102,400
| 125,310
| 0.279665
|
102,400
| 260,480
| 0.138468
|
102,400
| 248,190
| 0.174716
|
102,400
| 164,230
| 0.249286
|
102,400
| 125,320
| 0.290866
|
102,400
| 602,522
| 0.210614
|
102,400
| 166,300
| 0.538504
|
102,400
| 252,320
| 0.145432
|
102,400
| 178,600
| 0.267867
|
102,400
| 215,470
| 0.283359
|
102,400
| 600,496
| 0.396239
|
102,400
| 254,400
| 0.050121
|
102,400
| 225,740
| 0.154758
|
102,400
| 260,570
| 0.174175
|
102,400
| 225,755
| 0.203189
|
102,400
| 231,900
| 0.179662
|
102,400
| 236,000
| 0.177455
|
102,400
| 133,600
| 0.484994
|
102,400
| 606,703
| 0.412441
|
102,400
| 254,450
| 0.245235
|
102,400
| 115,195
| 0.410768
|
102,400
| 143,880
| 0.215785
|
102,400
| 137,750
| 0.292429
|
102,400
| 246,300
| 0.423084
|
102,400
| 156,190
| 0.301343
|
102,400
| 148,000
| 0.293187
|
102,400
| 137,760
| 0.331061
|
102,400
| 254,500
| 0.180072
|
102,400
| 109,100
| 0.408696
|
102,400
| 160,300
| 0.442139
|
102,400
| 182,830
| 0.254417
|
102,400
| 600,631
| 0.405804
|
102,400
| 275,000
| 0.138134
|
102,400
| 133,690
| 0.400515
|
102,400
| 600,634
| 0.037737
|
102,400
| 137,800
| 0.28561
|
102,400
| 158,280
| 0.107366
|
102,400
| 606,798
| 0.414306
|
102,400
| 115,300
| 0.336722
|
102,400
| 270,960
| 0.323232
|
102,400
| 606,842
| 0.176227
|
102,400
| 246,400
| 0.214411
|
102,400
| 148,100
| 0.406032
|
102,400
| 144,010
| 0.264888
|
102,400
| 109,200
| 0.175965
|
102,400
| 168,600
| 0.263392
|
102,400
| 604,827
| 0.205757
|
End of preview.