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 7 new columns ({'Origin Area', 'Destination Latitude', 'Destination Longitude', 'Origin Latitude', 'Volume (CS)', 'Longitude_x', 'Destination Area'}) and 2 missing columns ({'DC ID', 'Total Demand (box)'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Barasef/DatathonPandas/middle_mile_disguised.csv (at revision 97180512d0e2a16225aa72558b8678ed89389add)

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
              Origin Area: string
              Origin Latitude: double
              Longitude_x: double
              Destination Area: string
              Destination Latitude: double
              Destination Longitude: double
              Volume (CS): string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1175
              to
              {'DC ID': Value('string'), 'Total Demand (box)': Value('float64')}
              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 7 new columns ({'Origin Area', 'Destination Latitude', 'Destination Longitude', 'Origin Latitude', 'Volume (CS)', 'Longitude_x', 'Destination Area'}) and 2 missing columns ({'DC ID', 'Total Demand (box)'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Barasef/DatathonPandas/middle_mile_disguised.csv (at revision 97180512d0e2a16225aa72558b8678ed89389add)
              
              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.

DC ID
string
Total Demand (box)
float64
DC001
2,617.487149
DC002
1,451.503244
DC003
6,052.556426
DC004
839.89514
DC005
3,655.658944
DC006
1,714.52628
DC007
1,953.406371
DC008
1,222.544183
DC009
2,275.149136
DC010
10,024.280811
DC011
2,237.882598
DC012
1,988.736534
DC013
3,341.250311
DC014
3,266.124029
DC015
3,936.666527
DC016
2,394.50444
DC017
5,495.42458
DC018
1,493.868871
DC019
1,161.299071
DC020
2,162.941119
DC021
3,250.390567
DC022
1,812.250785
DC023
3,267.385348
DC024
3,191.502889
DC025
989.383723
DC026
2,180.2749
DC027
1,743.310341
DC028
1,967.986554
DC029
3,320.266835
DC030
1,979.775361
DC031
25,860.222033
DC032
5,633.492797
DC033
15,308.986194
DC034
7,533.841607
DC035
5,809.725317
DC036
6,917.255792
DC037
7,718.457694
DC038
10,607.94062
DC039
2,738.203119
DC040
1,852.579805
DC041
3,973.833266
DC042
7,500.777323
DC043
10,341.133525
DC044
3,964.283106
DC045
6,447.970229
DC046
2,484.055785
DC047
5,153.825781
DC048
2,588.907276
DC049
7,254.234951
DC050
7,766.481767
DC051
3,675.671436
DC052
2,686.879171
DC053
2,385.996116
DC054
2,917.581474
DC055
4,905.002755
DC056
1,766.528406
DC057
3,114.523451
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
End of preview.
README.md exists but content is empty.
Downloads last month
6