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 2 new columns ({'Collection_Date', 'Isolate'})

This happened while the csv dataset builder was generating data using

hf://datasets/sidms/sequence_data/seg_4.csv (at revision a5ebda0c2256e3df677714274745aa83c867144c)

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
              Accession: string
              Genotype: string
              Isolate: string
              Segment: int64
              Collection_Date: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 852
              to
              {'Accession': Value('string'), 'Genotype': Value('string'), 'Segment': Value('int64')}
              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 1456, 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 2 new columns ({'Collection_Date', 'Isolate'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/sidms/sequence_data/seg_4.csv (at revision a5ebda0c2256e3df677714274745aa83c867144c)
              
              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.

Accession
string
Genotype
string
Segment
int64
NC_026431.1
H1N1
7
NC_026432.1
H1N1
8
NC_026433.1
H1N1
4
NC_026434.1
H1N1
6
NC_026435.1
H1N1
2
NC_026436.1
H1N1
5
NC_026437.1
H1N1
3
NC_026438.1
H1N1
1
NC_026422.1
H7N9
1
NC_026423.1
H7N9
2
NC_026424.1
H7N9
3
NC_026425.1
H7N9
4
NC_026426.1
H7N9
5
NC_026427.1
H7N9
7
NC_026428.1
H7N9
8
NC_026429.1
H7N9
6
NC_007366.1
H3N2
4
NC_007367.1
H3N2
7
NC_007368.1
H3N2
6
NC_007369.1
H3N2
5
NC_007370.1
H3N2
8
NC_007371.1
H3N2
3
NC_007372.1
H3N2
2
NC_007373.1
H3N2
1
NC_007374.1
H2N2
4
NC_007375.1
H2N2
2
NC_007376.1
H2N2
3
NC_007377.1
H2N2
7
NC_007378.1
H2N2
1
NC_007380.1
H2N2
8
NC_007381.1
H2N2
5
NC_007382.1
H2N2
6
NC_007358.1
H5N1
2
NC_007359.1
H5N1
3
NC_007362.1
H5N1
4
NC_007363.1
H5N1
7
NC_007364.1
H5N1
8
NC_004905.2
H9N2
5
NC_004906.1
H9N2
8
NC_002020.1
H1N1
8
NC_002017.1
H1N1
4
NC_002022.1
H1N1
3
NC_002023.1
H1N1
1
NC_002016.1
H1N1
7
PX103409.1
H3N2
4
PX103410.1
H3N2
7
PX103411.1
H3N2
6
PX103412.1
H3N2
5
PX103413.1
H3N2
8
PX103414.1
H3N2
3
PX103415.1
H3N2
2
PX103416.1
H3N2
1
PX103417.1
H1N1
4
PX103418.1
H1N1
7
PX103419.1
H1N1
6
PX103420.1
H1N1
5
PX103421.1
H1N1
8
PX103422.1
H1N1
3
PX103423.1
H1N1
2
PX103424.1
H1N1
1
PX103425.1
H3N2
4
PX103426.1
H3N2
7
PX103427.1
H3N2
6
PX103428.1
H3N2
5
PX103429.1
H3N2
8
PX103430.1
H3N2
3
PX103431.1
H3N2
2
PX103432.1
H3N2
1
PX103433.1
H3N2
4
PX103434.1
H3N2
7
PX103435.1
H3N2
6
PX103436.1
H3N2
5
PX103437.1
H3N2
8
PX103438.1
H3N2
3
PX103439.1
H3N2
2
PX103440.1
H3N2
1
PX103441.1
H3N2
4
PX103442.1
H3N2
7
PX103443.1
H3N2
6
PX103444.1
H3N2
5
PX103445.1
H3N2
8
PX103446.1
H3N2
3
PX103447.1
H3N2
2
PX103448.1
H3N2
1
PX103449.1
H3N2
4
PX103450.1
H3N2
7
PX103451.1
H3N2
6
PX103452.1
H3N2
5
PX103453.1
H3N2
8
PX103454.1
H3N2
3
PX103455.1
H3N2
2
PX103456.1
H3N2
1
PX103457.1
H3N2
4
PX103458.1
H3N2
7
PX103459.1
H3N2
6
PX103460.1
H3N2
5
PX103461.1
H3N2
8
PX103462.1
H3N2
3
PX103463.1
H3N2
2
PX103464.1
H3N2
1
End of preview.

No dataset card yet

Downloads last month
37