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 ({'checkout_price', 'emailer_for_promotion', 'meal_id', 'base_price', 'homepage_featured', 'week', 'center_id'}) and 1 missing columns ({'num_orders'}).

This happened while the csv dataset builder was generating data using

zip://Food_Demand_Supply/test.xls::/tmp/hf-datasets-cache/medium/datasets/12601908608700-config-parquet-and-info-sayanroy058-Food_Deamand_-44bc80b3/downloads/560b280c0fe07fc09f8970e3e482d78c73c6e0d5280cad929cc2b190be3fab4c

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 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: int64
              week: int64
              center_id: int64
              meal_id: int64
              checkout_price: double
              base_price: double
              emailer_for_promotion: int64
              homepage_featured: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1215
              to
              {'id': Value(dtype='int64', id=None), 'num_orders': Value(dtype='int64', id=None)}
              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 1317, 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 932, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2013, 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 ({'checkout_price', 'emailer_for_promotion', 'meal_id', 'base_price', 'homepage_featured', 'week', 'center_id'}) and 1 missing columns ({'num_orders'}).
              
              This happened while the csv dataset builder was generating data using
              
              zip://Food_Demand_Supply/test.xls::/tmp/hf-datasets-cache/medium/datasets/12601908608700-config-parquet-and-info-sayanroy058-Food_Deamand_-44bc80b3/downloads/560b280c0fe07fc09f8970e3e482d78c73c6e0d5280cad929cc2b190be3fab4c
              
              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.

id
int64
num_orders
int64
1,028,232
0
1,127,204
0
1,212,707
0
1,082,698
0
1,400,926
0
1,284,113
0
1,197,966
0
1,132,739
0
1,057,981
0
1,095,932
0
1,454,421
0
1,149,765
0
1,166,964
0
1,010,949
0
1,409,575
0
1,181,616
0
1,456,020
0
1,264,395
0
1,472,931
0
1,412,015
0
1,461,229
0
1,014,564
0
1,485,914
0
1,345,389
0
1,006,833
0
1,174,921
0
1,175,393
0
1,152,412
0
1,497,398
0
1,363,486
0
1,366,766
0
1,192,413
0
1,319,547
0
1,337,684
0
1,479,766
0
1,460,444
0
1,139,730
0
1,115,056
0
1,335,827
0
1,385,333
0
1,096,323
0
1,230,693
0
1,027,016
0
1,181,520
0
1,306,234
0
1,271,440
0
1,269,834
0
1,176,823
0
1,193,098
0
1,034,878
0
1,010,243
0
1,451,807
0
1,016,845
0
1,198,021
0
1,413,802
0
1,231,223
0
1,274,226
0
1,425,142
0
1,211,593
0
1,419,190
0
1,180,223
0
1,194,932
0
1,323,477
0
1,371,595
0
1,171,521
0
1,052,384
0
1,060,921
0
1,261,811
0
1,246,502
0
1,497,466
0
1,232,717
0
1,136,112
0
1,196,334
0
1,349,533
0
1,463,406
0
1,447,686
0
1,336,105
0
1,012,855
0
1,180,646
0
1,062,490
0
1,098,228
0
1,101,375
0
1,400,016
0
1,439,889
0
1,408,468
0
1,044,490
0
1,290,002
0
1,190,633
0
1,040,430
0
1,049,366
0
1,224,120
0
1,293,810
0
1,197,335
0
1,323,989
0
1,129,467
0
1,229,328
0
1,164,395
0
1,217,722
0
1,171,266
0
1,024,905
0
End of preview.

No dataset card yet

Downloads last month
3