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 ({'num_sponsors'})

This happened while the csv dataset builder was generating data using

hf://datasets/chufangao/CTO/phase2_CTO_rf.csv (at revision e102e9935ffde98fdd7704d3d58252b50f0488e6)

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
              nct_id: string
              hint_train: double
              hint_train2: double
              hint_train3: double
              status: int64
              status2: int64
              gpt: double
              gpt2: double
              linkage: double
              linkage2: double
              stock_price: double
              results_reported: int64
              new_headlines: double
              pvalues: double
              update_more_recent: int64
              sites: double
              serious_ae: double
              patient_drop: double
              num_sponsors: int64
              num_patients: double
              death_ae: double
              amendments: double
              all_ae: double
              pred: int64
              pred_proba: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3217
              to
              {'nct_id': Value(dtype='string', id=None), 'hint_train': Value(dtype='float64', id=None), 'hint_train2': Value(dtype='float64', id=None), 'hint_train3': Value(dtype='float64', id=None), 'status': Value(dtype='int64', id=None), 'status2': Value(dtype='int64', id=None), 'gpt': Value(dtype='float64', id=None), 'gpt2': Value(dtype='float64', id=None), 'linkage': Value(dtype='float64', id=None), 'linkage2': Value(dtype='float64', id=None), 'stock_price': Value(dtype='float64', id=None), 'results_reported': Value(dtype='int64', id=None), 'new_headlines': Value(dtype='float64', id=None), 'pvalues': Value(dtype='float64', id=None), 'update_more_recent': Value(dtype='int64', id=None), 'sites': Value(dtype='float64', id=None), 'serious_ae': Value(dtype='float64', id=None), 'patient_drop': Value(dtype='float64', id=None), 'num_patients': Value(dtype='float64', id=None), 'death_ae': Value(dtype='float64', id=None), 'amendments': Value(dtype='float64', id=None), 'all_ae': Value(dtype='float64', id=None), 'pred': Value(dtype='int64', id=None), 'pred_proba': 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 1417, 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 1049, 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 ({'num_sponsors'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/chufangao/CTO/phase2_CTO_rf.csv (at revision e102e9935ffde98fdd7704d3d58252b50f0488e6)
              
              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.

nct_id
string
hint_train
float64
hint_train2
float64
hint_train3
float64
status
int64
status2
int64
gpt
float64
gpt2
float64
linkage
float64
linkage2
float64
stock_price
float64
results_reported
int64
new_headlines
float64
pvalues
float64
update_more_recent
int64
sites
float64
serious_ae
float64
patient_drop
float64
num_patients
float64
death_ae
float64
amendments
float64
all_ae
float64
pred
int64
pred_proba
float64
NCT01891669
-1
-1
-1
0
0
0
0
0
0
-1
1
-1
-1
0
1
1
1
1
1
-1
0
0
0
NCT01428076
-1
-1
-1
-1
-1
-1
-1
0
0
0
1
-1
-1
0
0
1
1
0
1
0
1
1
0.681606
NCT01095601
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
-1
-1
-1
-1
-1
-1
-1
1
0.751744
NCT01845077
-1
-1
-1
-1
-1
-1
-1
0
0
1
1
-1
-1
0
0
1
1
1
1
0
1
1
0.678448
NCT00933816
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
1
1
-1
-1
-1
-1
-1
-1
1
0.781167
NCT02742844
-1
-1
-1
0
0
-1
-1
0
0
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
0
0
NCT03814590
-1
-1
-1
-1
-1
1
1
1
1
-1
1
-1
-1
0
1
0
0
1
0
-1
0
1
0.781064
NCT01724619
-1
-1
-1
0
0
-1
-1
0
0
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
0
0
NCT02262819
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.747575
NCT02106780
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.747575
NCT02749032
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
-1
0
-1
-1
-1
-1
-1
-1
1
0.737306
NCT02790684
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.747575
NCT00784914
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.743648
NCT00932126
-1
-1
-1
0
0
-1
-1
0
0
-1
1
-1
-1
0
1
0
0
0
1
-1
0
0
0
NCT06160622
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
1
0
-1
-1
-1
-1
-1
-1
1
0.777238
NCT00265135
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
-1
-1
-1
-1
-1
-1
-1
1
0.751744
NCT00126971
-1
-1
-1
0
0
-1
-1
-1
-1
-1
0
-1
-1
-1
0
-1
-1
-1
-1
-1
-1
0
0
NCT04984525
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
1
-1
0
0
-1
-1
-1
-1
0
-1
1
0.824065
NCT02423928
-1
-1
-1
-1
-1
0
0
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.770999
NCT00199888
-1
-1
-1
-1
-1
1
1
0
0
-1
1
-1
-1
0
0
1
1
0
1
-1
0
1
0.743293
NCT01876953
-1
-1
-1
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
0
-1
0
0
-1
0
0
0
NCT01982643
-1
-1
-1
-1
-1
1
1
0
0
-1
1
-1
-1
0
1
0
-1
0
1
-1
0
1
0.766756
NCT02140151
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.742231
NCT02045095
-1
-1
-1
0
0
-1
-1
0
0
-1
1
-1
-1
0
-1
0
0
1
1
-1
0
0
0
NCT01949519
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.742231
NCT02273713
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.752107
NCT01677390
-1
-1
-1
0
0
-1
-1
1
1
-1
0
-1
-1
1
1
-1
-1
-1
-1
-1
-1
0
0
NCT00001002
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.729066
NCT02464670
-1
-1
-1
-1
-1
1
1
0
0
0
0
-1
-1
0
1
-1
-1
-1
-1
0
-1
1
0.807218
NCT00488215
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
0
-1
-1
-1
-1
-1
-1
-1
1
0.756877
NCT03806179
-1
-1
-1
-1
-1
-1
-1
0
0
-1
1
-1
-1
0
1
0
1
0
1
-1
1
1
0.578534
NCT00047073
-1
-1
-1
-1
-1
0
0
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.770999
NCT00984854
-1
-1
-1
-1
-1
-1
-1
1
1
1
0
-1
-1
0
0
-1
-1
-1
-1
0
-1
1
0.808212
NCT00910728
-1
-1
-1
-1
-1
-1
-1
0
0
0
1
-1
-1
0
1
0
0
1
1
1
0
1
0.679265
NCT02426229
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
1
0
-1
-1
-1
-1
-1
-1
1
0.777238
NCT05956522
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.743648
NCT02228811
-1
-1
-1
0
0
-1
-1
0
0
-1
0
-1
-1
1
1
-1
-1
-1
-1
-1
-1
0
0
NCT02598206
-1
-1
-1
-1
-1
-1
-1
0
0
1
0
-1
-1
0
0
-1
-1
-1
-1
1
-1
1
0.792925
NCT00828074
-1
-1
-1
-1
-1
1
1
0
0
-1
1
-1
-1
0
1
0
-1
0
1
-1
0
1
0.766756
NCT03603431
-1
-1
-1
-1
-1
0
0
-1
-1
-1
0
-1
-1
1
0
-1
-1
-1
-1
-1
-1
1
0.816705
NCT01082276
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.743648
NCT04519567
-1
-1
-1
-1
-1
1
1
1
1
0
0
1
-1
0
0
-1
-1
-1
-1
0
-1
1
0.873996
NCT00910806
-1
-1
-1
-1
-1
0
0
0
0
-1
0
-1
-1
0
-1
-1
-1
-1
-1
-1
-1
1
0.795553
NCT04124653
-1
-1
-1
-1
-1
-1
-1
0
0
1
0
-1
-1
0
1
-1
-1
-1
-1
0
-1
1
0.777985
NCT06481202
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.733959
NCT01551004
-1
-1
-1
-1
-1
1
1
1
1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.78684
NCT02585973
-1
-1
-1
-1
-1
-1
-1
1
1
1
0
-1
-1
1
0
-1
-1
-1
-1
0
-1
1
0.82782
NCT02715570
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
1
0
-1
-1
-1
-1
-1
-1
1
0.787118
NCT01362153
-1
-1
-1
-1
-1
1
1
-1
-1
-1
0
-1
-1
0
-1
-1
-1
-1
-1
-1
-1
1
0.784883
NCT03191981
-1
-1
-1
0
0
-1
-1
0
0
-1
0
-1
-1
1
1
-1
-1
-1
-1
-1
-1
0
0
NCT02182531
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
0.739083
NCT02014337
-1
-1
-1
-1
-1
-1
-1
1
1
1
0
-1
-1
1
1
-1
-1
-1
-1
1
-1
1
0.818778
NCT01664520
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
1
0
-1
-1
-1
-1
-1
-1
1
0.774363
NCT03425461
-1
-1
-1
0
0
-1
-1
1
1
-1
0
-1
-1
1
1
-1
-1
-1
-1
-1
-1
0
0
NCT01498458
-1
-1
-1
-1
-1
-1
-1
1
1
-1
1
-1
-1
0
0
0
1
0
1
-1
1
1
0.586004
NCT00650156
-1
-1
-1
-1
-1
1
1
-1
-1
-1
0
-1
-1
-1
0
-1
-1
-1
-1
-1
-1
1
0.771955
NCT00000998
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.743648
NCT00990743
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.752107
NCT04969601
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.733959
NCT01051401
-1
-1
-1
0
0
-1
-1
1
1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
0
0
NCT05655351
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
1
0
-1
-1
-1
-1
-1
-1
1
0.777238
NCT01460381
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
-1
-1
0
0
1
1
0
1
1
1
1
0.696839
NCT01519011
0
0
0
-1
-1
0
0
1
1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.772034
NCT04495140
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
-1
-1
1
1
-1
-1
-1
-1
0
-1
1
0.799644
NCT05044936
-1
-1
-1
0
0
-1
-1
-1
-1
-1
0
-1
-1
1
0
-1
-1
-1
-1
-1
-1
0
0
NCT05451095
-1
-1
-1
0
0
-1
-1
0
0
-1
0
-1
-1
1
-1
-1
-1
-1
-1
-1
-1
0
0
NCT06347861
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
1
0
-1
-1
-1
-1
-1
-1
1
0.777238
NCT01320332
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.742231
NCT04412785
-1
-1
-1
-1
-1
0
0
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.770999
NCT03100123
-1
-1
-1
0
0
1
1
-1
-1
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT04730843
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.743648
NCT06119529
-1
-1
-1
0
0
-1
-1
1
1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
0
0
NCT01033227
0
0
0
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT01033227
0
0
0
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT01033227
0
0
0
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT01033227
0
0
0
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT01033227
0
0
0
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT01033227
0
0
0
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT01033227
0
0
0
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT01033227
0
0
0
0
0
-1
-1
0
0
-1
1
-1
-1
0
0
1
-1
0
1
-1
1
0
0
NCT00835510
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
-1
1
0
1
0
-1
1
1
-1
0
1
1
NCT01840488
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.742231
NCT00621101
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.743648
NCT00882726
-1
-1
-1
-1
-1
-1
-1
1
1
-1
0
-1
-1
0
-1
-1
-1
-1
-1
-1
-1
1
0.756877
NCT02185183
-1
-1
-1
-1
-1
-1
-1
0
0
-1
1
-1
-1
0
-1
1
-1
0
1
-1
1
1
0.650727
NCT00882674
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
-1
-1
-1
-1
-1
-1
-1
1
0.751744
NCT01349647
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.743648
NCT01011959
-1
-1
-1
-1
-1
1
1
0
0
0
0
-1
-1
0
-1
-1
-1
-1
-1
0
-1
1
0.838969
NCT01011959
-1
-1
-1
-1
-1
1
1
0
0
0
0
-1
-1
0
-1
-1
-1
-1
-1
0
-1
1
0.838969
NCT01011959
-1
-1
-1
-1
-1
1
1
0
0
1
0
-1
-1
0
-1
-1
-1
-1
-1
0
-1
1
0.837046
NCT01011959
-1
-1
-1
-1
-1
1
1
0
0
1
0
-1
-1
0
-1
-1
-1
-1
-1
0
-1
1
0.837046
NCT00468819
-1
-1
-1
-1
-1
1
1
0
0
-1
1
-1
-1
0
-1
0
1
1
1
-1
0
1
0.744715
NCT02496975
-1
-1
-1
0
0
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
0
0
NCT02866916
-1
-1
-1
0
0
-1
-1
0
0
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
0
0
NCT00025129
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.729066
NCT03218683
-1
-1
-1
0
0
1
1
1
1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
0
0
NCT00000808
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
1
-1
-1
-1
-1
-1
-1
1
0.729066
NCT00981890
-1
-1
-1
-1
-1
-1
-1
0
0
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.747575
NCT03012386
-1
-1
-1
-1
-1
-1
-1
0
0
-1
1
-1
-1
0
0
0
-1
0
1
-1
1
1
0.640169
NCT02302976
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
-1
-1
0
0
-1
-1
-1
-1
-1
-1
1
0.743648
End of preview.