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 1 new columns ({'frequency'})

This happened while the csv dataset builder was generating data using

hf://datasets/modelbiome/word_count_data/word_count_frequency.csv (at revision 54d2924dcef2b0dbfd53b41e783c55254563fb45)

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
              word_count: int64
              frequency: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 494
              to
              {'word_count': 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 1 new columns ({'frequency'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/modelbiome/word_count_data/word_count_frequency.csv (at revision 54d2924dcef2b0dbfd53b41e783c55254563fb45)
              
              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.

word_count
int64
2,120
422
2,282
1,158
2,110
216
2,081
1,288
2,508
517
1,453
1,733
2,944
931
4,098
515
647
711
1,490
266
411
1,288
1,155
1,458
934
1,851
1,482
1,820
1,288
2,867
1,317
710
748
1,143
4,288
2,191
1,676
2,703
2,620
243
158
1,414
1,467
809
970
1,511
342
1,663
529
2,223
2,263
2,458
2,743
234
735
301
1,935
1,151
335
89
462
2,867
1,445
1,589
1,688
301
1,018
297
148
492
710
13
1,044
757
779
1,487
2,946
655
1,214
1,608
320
1,793
700
280
874
642
1,010
373
504
698
1,146
1,940
702
722
2,528
1,161
419
691
3,064
352
End of preview.

No dataset card yet

Downloads last month
9