Dataset Preview
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 3 new columns ({'Allergy1', 'J30.1', '59'}) and 11 missing columns ({'__index_level_9__', '# From the Office for National Statistics historic names dataset.', '__index_level_1__', '__index_level_0__', '__index_level_4__', '__index_level_3__', '__index_level_7__', '__index_level_5__', '__index_level_8__', '__index_level_2__', '__index_level_6__'}).

This happened while the csv dataset builder was generating data using

hf://datasets/introvoyz041/Simhospital/data/pkg/test/data/sh_allergies_test.csv (at revision 70fa7516210fbb0b1e9b1baaa2ff86f78d718fe8)

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 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, 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 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              J30.1: string
              Allergy1: string
              59: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 586
              to
              {'# From the Office for National Statistics historic names dataset.': Value('string'), '__index_level_0__': Value('string'), '__index_level_1__': Value('string'), '__index_level_2__': Value('string'), '__index_level_3__': Value('string'), '__index_level_4__': Value('string'), '__index_level_5__': Value('string'), '__index_level_6__': Value('string'), '__index_level_7__': Value('string'), '__index_level_8__': Value('string'), '__index_level_9__': 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 1438, 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 1055, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, 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 1702, 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 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 3 new columns ({'Allergy1', 'J30.1', '59'}) and 11 missing columns ({'__index_level_9__', '# From the Office for National Statistics historic names dataset.', '__index_level_1__', '__index_level_0__', '__index_level_4__', '__index_level_3__', '__index_level_7__', '__index_level_5__', '__index_level_8__', '__index_level_2__', '__index_level_6__'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/introvoyz041/Simhospital/data/pkg/test/data/sh_allergies_test.csv (at revision 70fa7516210fbb0b1e9b1baaa2ff86f78d718fe8)
              
              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.

# From the Office for National Statistics historic names dataset.
string
__index_level_0__
string
__index_level_1__
string
__index_level_2__
string
__index_level_3__
string
__index_level_4__
string
__index_level_5__
string
__index_level_6__
string
__index_level_7__
string
__index_level_8__
string
__index_level_9__
string
null
contents
null
null
null
null
null
null
null
null
null
null
null
Top 100 boys' baby names
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1994
RANK
1904
1914
1924
1934
1944
1954
1964
1974
1984
null
null
null
null
null
null
null
null
null
null
null
THOMAS
1
WILLIAM
JOHN
JOHN
JOHN
JOHN
DAVID
DAVID
PAUL
CHRISTOPHER
JAMES
2
JOHN
WILLIAM
WILLIAM
PETER
DAVID
JOHN
PAUL
MARK
JAMES
JACK
3
GEORGE
GEORGE
GEORGE
WILLIAM
MICHAEL
STEPHEN
ANDREW
DAVID
DAVID
null
contents
null
null
null
null
null
null
null
null
null
null
null
Top 100 girls' baby names
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1994
RANK
1904
1914
1924
1934
1944
1954
1964
1974
1984
null
null
null
null
null
null
null
null
null
null
null
REBECCA
1
MARY
MARY
MARGARET
MARGARET
MARGARET
SUSAN
SUSAN
SARAH
SARAH
LAUREN
2
FLORENCE
MARGARET
MARY
JEAN
PATRICIA
LINDA
JULIE
CLAIRE
LAURA
JESSICA
3
DORIS
DORIS
JOAN
MARY
CHRISTINE
CHRISTINE
KAREN
NICOLA
GEMMA
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
EMERGENCY
EMERGENCY
null
null
null
null
null
null
null
null
null
OUTPATIENT
OUTPATIENT
null
null
null
null
null
null
null
null
null
RECURRING
RECURRING
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
README.md exists but content is empty.
Downloads last month
62