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 12 new columns ({'kitchen_staff', 'humidity_percent', 'waste_category', 'ID', 'staff_experience', 'meals_served', 'past_waste_kg', 'day_of_week', 'temperature_C', 'date', 'food_waste_kg', 'special_event'}) and 9 missing columns ({'meal_id', 'week', 'num_orders', 'emailer_for_promotion', 'checkout_price', 'base_price', 'homepage_featured', 'center_id', 'id'}).
This happened while the csv dataset builder was generating data using
hf://datasets/marvelishere/dataset-datathon-2025-MATA/train_foodwaste.csv (at revision f59906b01605eecb033d07e7a4646d893fd5ef52)
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
ID: int64
date: string
meals_served: int64
kitchen_staff: int64
temperature_C: double
humidity_percent: double
day_of_week: int64
special_event: int64
past_waste_kg: double
staff_experience: string
waste_category: string
food_waste_kg: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1730
to
{'id': Value('int64'), 'week': Value('int64'), 'center_id': Value('int64'), 'meal_id': Value('int64'), 'checkout_price': Value('float64'), 'base_price': Value('float64'), 'emailer_for_promotion': Value('int64'), 'homepage_featured': Value('int64'), 'num_orders': 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 12 new columns ({'kitchen_staff', 'humidity_percent', 'waste_category', 'ID', 'staff_experience', 'meals_served', 'past_waste_kg', 'day_of_week', 'temperature_C', 'date', 'food_waste_kg', 'special_event'}) and 9 missing columns ({'meal_id', 'week', 'num_orders', 'emailer_for_promotion', 'checkout_price', 'base_price', 'homepage_featured', 'center_id', 'id'}).
This happened while the csv dataset builder was generating data using
hf://datasets/marvelishere/dataset-datathon-2025-MATA/train_foodwaste.csv (at revision f59906b01605eecb033d07e7a4646d893fd5ef52)
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 | week
int64 | center_id
int64 | meal_id
int64 | checkout_price
float64 | base_price
float64 | emailer_for_promotion
int64 | homepage_featured
int64 | num_orders
int64 |
|---|---|---|---|---|---|---|---|---|
1,379,560
| 1
| 55
| 1,885
| 136.83
| 152.29
| 0
| 0
| 177
|
1,466,964
| 1
| 55
| 1,993
| 136.83
| 135.83
| 0
| 0
| 270
|
1,346,989
| 1
| 55
| 2,539
| 134.86
| 135.86
| 0
| 0
| 189
|
1,338,232
| 1
| 55
| 2,139
| 339.5
| 437.53
| 0
| 0
| 54
|
1,448,490
| 1
| 55
| 2,631
| 243.5
| 242.5
| 0
| 0
| 40
|
1,270,037
| 1
| 55
| 1,248
| 251.23
| 252.23
| 0
| 0
| 28
|
1,191,377
| 1
| 55
| 1,778
| 183.36
| 184.36
| 0
| 0
| 190
|
1,499,955
| 1
| 55
| 1,062
| 182.36
| 183.36
| 0
| 0
| 391
|
1,025,244
| 1
| 55
| 2,707
| 193.06
| 192.06
| 0
| 0
| 472
|
1,054,194
| 1
| 55
| 1,207
| 325.92
| 384.18
| 0
| 1
| 676
|
1,469,367
| 1
| 55
| 1,230
| 323.01
| 390
| 0
| 1
| 823
|
1,029,333
| 1
| 55
| 2,322
| 322.07
| 388
| 0
| 1
| 972
|
1,446,016
| 1
| 55
| 2,290
| 311.43
| 310.43
| 0
| 0
| 162
|
1,244,647
| 1
| 55
| 1,727
| 445.23
| 446.23
| 0
| 0
| 420
|
1,378,227
| 1
| 55
| 1,109
| 264.84
| 297.79
| 1
| 0
| 756
|
1,181,556
| 1
| 55
| 2,640
| 282.33
| 281.33
| 0
| 0
| 108
|
1,313,873
| 1
| 55
| 2,306
| 243.5
| 340.53
| 0
| 0
| 28
|
1,067,069
| 1
| 55
| 2,126
| 486
| 485
| 0
| 0
| 28
|
1,058,482
| 1
| 55
| 2,826
| 306.58
| 305.58
| 0
| 0
| 188
|
1,240,935
| 1
| 55
| 1,754
| 289.12
| 289.12
| 0
| 0
| 485
|
1,044,821
| 1
| 55
| 1,971
| 259.99
| 320.13
| 1
| 1
| 798
|
1,149,039
| 1
| 55
| 1,902
| 388.03
| 446.23
| 0
| 0
| 14
|
1,263,416
| 1
| 55
| 1,311
| 196.94
| 320.13
| 0
| 0
| 176
|
1,323,882
| 1
| 55
| 1,803
| 117.4
| 188.24
| 0
| 0
| 150
|
1,338,119
| 1
| 55
| 1,558
| 583.03
| 610.13
| 1
| 0
| 162
|
1,188,372
| 1
| 55
| 2,581
| 583.03
| 612.13
| 1
| 0
| 312
|
1,440,008
| 1
| 55
| 1,962
| 582.03
| 612.13
| 1
| 0
| 231
|
1,336,534
| 1
| 55
| 1,445
| 628.62
| 627.62
| 0
| 0
| 13
|
1,242,186
| 1
| 55
| 2,444
| 627.62
| 626.62
| 0
| 0
| 15
|
1,012,819
| 1
| 55
| 2,867
| 628.62
| 626.62
| 0
| 0
| 13
|
1,038,567
| 1
| 55
| 1,525
| 243.5
| 282.33
| 0
| 0
| 15
|
1,325,272
| 1
| 55
| 2,704
| 243.5
| 282.33
| 0
| 0
| 13
|
1,412,058
| 1
| 55
| 2,304
| 484.03
| 484.03
| 0
| 0
| 13
|
1,040,403
| 1
| 24
| 1,885
| 136.83
| 136.83
| 0
| 0
| 1,498
|
1,012,104
| 1
| 24
| 1,993
| 134.83
| 135.83
| 0
| 1
| 1,243
|
1,277,150
| 1
| 24
| 2,539
| 135.86
| 135.86
| 0
| 0
| 391
|
1,323,742
| 1
| 24
| 2,139
| 340.5
| 435.53
| 0
| 0
| 55
|
1,417,386
| 1
| 24
| 2,631
| 247.38
| 248.38
| 0
| 0
| 67
|
1,367,249
| 1
| 24
| 1,248
| 247.35
| 248.35
| 0
| 0
| 81
|
1,168,714
| 1
| 24
| 1,778
| 177.51
| 179.51
| 0
| 0
| 377
|
1,351,400
| 1
| 24
| 1,062
| 184.36
| 182.36
| 0
| 0
| 514
|
1,496,539
| 1
| 24
| 2,707
| 190.18
| 188.18
| 0
| 0
| 1,176
|
1,372,248
| 1
| 24
| 1,207
| 319.19
| 380.27
| 0
| 0
| 256
|
1,292,501
| 1
| 24
| 1,230
| 336.65
| 390
| 0
| 0
| 243
|
1,346,854
| 1
| 24
| 2,322
| 322.07
| 387.09
| 0
| 0
| 324
|
1,291,642
| 1
| 24
| 2,290
| 298.82
| 296.82
| 0
| 0
| 998
|
1,226,536
| 1
| 24
| 1,727
| 412.28
| 411.28
| 0
| 0
| 702
|
1,165,348
| 1
| 24
| 1,109
| 243.47
| 273.54
| 1
| 0
| 877
|
1,079,470
| 1
| 24
| 2,577
| 280.33
| 281.33
| 0
| 0
| 134
|
1,192,984
| 1
| 24
| 2,640
| 282.33
| 281.33
| 0
| 0
| 285
|
1,386,769
| 1
| 24
| 1,878
| 281.33
| 280.33
| 0
| 0
| 95
|
1,336,850
| 1
| 24
| 2,306
| 242.5
| 338.53
| 0
| 0
| 82
|
1,211,094
| 1
| 24
| 1,216
| 454.93
| 455.93
| 0
| 0
| 42
|
1,022,907
| 1
| 24
| 2,126
| 485
| 486
| 0
| 0
| 54
|
1,276,642
| 1
| 24
| 2,826
| 301.73
| 301.73
| 0
| 0
| 744
|
1,290,603
| 1
| 24
| 1,754
| 278.42
| 278.42
| 0
| 0
| 393
|
1,457,468
| 1
| 24
| 1,971
| 259.05
| 291.03
| 1
| 1
| 554
|
1,352,863
| 1
| 24
| 1,902
| 389.03
| 447.23
| 0
| 0
| 27
|
1,488,172
| 1
| 24
| 1,247
| 387.03
| 446.23
| 0
| 0
| 28
|
1,107,611
| 1
| 24
| 1,770
| 340.53
| 486.03
| 0
| 0
| 54
|
1,298,505
| 1
| 24
| 1,198
| 147.5
| 191.09
| 0
| 0
| 148
|
1,036,135
| 1
| 24
| 1,311
| 156.23
| 196
| 0
| 0
| 393
|
1,215,208
| 1
| 24
| 1,803
| 166.87
| 188.18
| 0
| 0
| 364
|
1,331,930
| 1
| 24
| 1,438
| 245.44
| 245.44
| 0
| 0
| 176
|
1,441,421
| 1
| 24
| 2,494
| 244.5
| 272.63
| 0
| 0
| 109
|
1,333,208
| 1
| 24
| 1,847
| 243.5
| 271.63
| 0
| 0
| 96
|
1,490,163
| 1
| 24
| 1,558
| 582.03
| 624.74
| 1
| 0
| 215
|
1,004,790
| 1
| 24
| 2,581
| 582.03
| 617.89
| 1
| 0
| 419
|
1,286,681
| 1
| 24
| 1,962
| 588.85
| 610.13
| 1
| 1
| 634
|
1,385,562
| 1
| 24
| 1,445
| 628.62
| 627.62
| 0
| 0
| 27
|
1,183,203
| 1
| 24
| 2,444
| 626.62
| 627.62
| 0
| 0
| 27
|
1,109,344
| 1
| 24
| 2,760
| 242.53
| 243.53
| 0
| 0
| 122
|
1,166,775
| 1
| 24
| 1,525
| 244.5
| 281.33
| 0
| 0
| 487
|
1,382,473
| 1
| 24
| 2,704
| 244.5
| 280.33
| 0
| 0
| 243
|
1,051,179
| 1
| 24
| 2,492
| 387.03
| 388.03
| 0
| 0
| 81
|
1,220,763
| 1
| 24
| 1,543
| 484.03
| 484.03
| 0
| 0
| 107
|
1,488,442
| 1
| 24
| 2,304
| 486.03
| 486.03
| 0
| 0
| 203
|
1,103,215
| 1
| 11
| 1,885
| 136.83
| 136.83
| 0
| 0
| 959
|
1,093,939
| 1
| 11
| 1,993
| 133.89
| 133.89
| 0
| 0
| 1,052
|
1,120,771
| 1
| 11
| 2,539
| 133.86
| 135.86
| 0
| 0
| 379
|
1,472,938
| 1
| 11
| 2,139
| 339.5
| 436.53
| 0
| 0
| 54
|
1,136,817
| 1
| 11
| 2,631
| 251.23
| 251.23
| 0
| 0
| 80
|
1,425,970
| 1
| 11
| 1,248
| 253.23
| 253.23
| 0
| 0
| 27
|
1,053,516
| 1
| 11
| 1,778
| 183.39
| 181.39
| 0
| 0
| 620
|
1,057,835
| 1
| 11
| 1,062
| 184.36
| 182.36
| 0
| 0
| 798
|
1,309,667
| 1
| 11
| 2,707
| 190.12
| 192.12
| 0
| 0
| 1,594
|
1,277,077
| 1
| 11
| 1,207
| 315.25
| 353.08
| 0
| 1
| 446
|
1,039,023
| 1
| 11
| 1,230
| 325.98
| 380.3
| 0
| 0
| 391
|
1,483,315
| 1
| 11
| 2,322
| 324.04
| 383.21
| 0
| 0
| 513
|
1,474,933
| 1
| 11
| 2,290
| 292.97
| 293.97
| 0
| 0
| 703
|
1,305,533
| 1
| 11
| 1,727
| 364.78
| 403.52
| 0
| 0
| 879
|
1,426,280
| 1
| 11
| 1,109
| 237.68
| 262.9
| 1
| 0
| 1,984
|
1,114,533
| 1
| 11
| 2,577
| 281.33
| 281.33
| 0
| 0
| 202
|
1,192,269
| 1
| 11
| 2,640
| 280.33
| 282.33
| 0
| 0
| 271
|
1,351,149
| 1
| 11
| 1,878
| 281.33
| 282.33
| 0
| 0
| 68
|
1,039,383
| 1
| 11
| 2,306
| 243.5
| 338.53
| 0
| 0
| 258
|
1,435,407
| 1
| 11
| 1,216
| 456.93
| 456.93
| 0
| 1
| 13
|
1,199,821
| 1
| 11
| 2,826
| 338.53
| 338.53
| 0
| 0
| 458
|
1,157,042
| 1
| 11
| 1,754
| 273.54
| 275.54
| 0
| 0
| 729
|
1,200,664
| 1
| 11
| 1,971
| 259.99
| 327.86
| 1
| 0
| 528
|
End of preview.
README.md exists but content is empty.
- Downloads last month
- 50