Dataset Preview
Duplicate
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 4 new columns ({'id', 'concepts', 'caption', 'concepts_manual'}) and 2 missing columns ({'CUI', 'Canonical name'}).

This happened while the csv dataset builder was generating data using

hf://datasets/saad003/Dataset_final/metadata.csv (at revision 21c21350340b1c7ada55181813f90c360a217cbb)

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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: string
              caption: string
              concepts: string
              concepts_manual: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 727
              to
              {'CUI': Value('string'), 'Canonical name': Value('string')}
              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 1339, 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 972, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, 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 4 new columns ({'id', 'concepts', 'caption', 'concepts_manual'}) and 2 missing columns ({'CUI', 'Canonical name'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/saad003/Dataset_final/metadata.csv (at revision 21c21350340b1c7ada55181813f90c360a217cbb)
              
              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.

CUI
string
Canonical name
string
C0016522
Foramen Ovale, Patent
C0457846
Cervical segment of spinal cord
C0578537
Cavitation of lung
C0179751
Epidural catheter
C3489393
Hiatal Hernia
C0730166
Bone structure of fifth metacarpal
C1261077
Structure of left lower lobe of lung
C0152443
Urethral diverticulum
C0227301
Descending part of duodenum
C0031354
Pharyngeal structure
C4039172
Posterior point of nasal spine
C0227387
Left colic flexure
C0227385
Hepatic flexure of colon
C0228126
Leptomeninges
C0230436
Popliteal fossa structure
C0037922
Spinal Canal
C1260954
Morphologically altered structure
C0450184
Jejunal loop
C0729936
Cardiac chamber structure
C0032718
Portal vein structure
C0149543
Base of skull structure
C0027540
Necrosis
C0582254
Entire intrahepatic part of main portal vein
C0227375
Ascending colon
C0006441
Synovial bursa
C0041967
Urethra
C0729538
Saphenous vein graft
C0007144
Cardia of stomach
C0341539
Parastomal hernia
C0085221
Structure of psoas muscle
C0007473
Structure of cavernous sinus
C0227997
Structure of right testis
C0015426
Eyelid structure
C0013303
Duodenum
C0162859
Common carotid artery
C0333161
Pseudocyst
C1261084
Common iliac artery structure
C0225708
Structure of base of right lung
C2973725
Pulmonary arterial hypertension
C0224378
Structure of transversus abdominis muscle
C0007966
Cheek structure
C1321756
Achalasia
C0028784
Occipital bone structure
C0007531
Cecum
C0227457
Structure of left parotid gland
C0042232
Vagina
C0264972
Aneurysm of hepatic artery
C0341318
Enterocutaneous Fistula
C0003855
Arteriovenous fistula
C0262431
Compression fracture of vertebral column
C0040761
Transposition of Great Vessels
C0226707
Structure of middle hepatic vein
C0184149
Nephrostomy tube
C1261316
Right coronary artery structure
C0013687
effusion
C0010384
Prostheses, Dental, Fixed, Crown, Total, Temporary
C0442872
Multiple cysts
C0225599
Tracheal bronchus
C0001863
Air bubble
C0228515
Cerebellar peduncle
C0004455
Structure of axillary artery
C0230140
Structure of right thoracic cavity
C0026764
Multiple Myeloma
C0042591
Vessel Positions
C1275667
Common femoral vein
C0227011
Neck of tooth
C5231045
Structure of prostatic artery
C1305393
Entire posterior fossa of cranial cavity
C0007276
Internal carotid artery structure
C0011906
Differential Diagnosis
C0224234
Structure of deltoid muscle
C0206635
Myelolipoma
C0227472
Structure of submaxillary duct
C0225261
Iliac fascia structure
C1288329
Structure of lower uterine segment
C0003090
Ankylosis
C0038001
Structure of splenic vein
C0546483
Lung cyst
C0013075
Structure of rectouterine pouch
C0020164
Bone structure of humerus
C0587240
Erosion of bone
C0227230
Body of stomach
C0224445
Structure of vastus medialis muscle
C0152254
Fatty degeneration
C0223741
Trapezoid bone structure
C0224419
Structure of psoas major muscle
C0227028
Maxillary teeth
C0227560
Structure of left hepatic duct
C0025202
melanoma
C1456806
Entire pulmonary vein
C0222647
Structure of long bone
C0226087
Left common carotid artery structure
C0581269
Thoracic spine structure
C0223947
Navicular Bone of Foot
C0223078
Transverse Processes
C0020663
Hypothalamic structure
C0227716
Neck of urinary bladder
C0333186
Restenosis
C0332448
Infiltration
C0240708
Calcification of pericardium
End of preview.
README.md exists but content is empty.
Downloads last month
-

Space using saad003/Dataset_final 1