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 8 new columns ({'order_status', 'order_ts', 'payment_method', 'customer_id', 'total_amount', 'state', 'order_date', 'city'}) and 5 missing columns ({'quantity', 'unit_price', 'net_amount', 'product_id', 'discount'}).
This happened while the csv dataset builder was generating data using
hf://datasets/aparajita/customerserve-data/orders.csv (at revision a3bd4ce1389b46b60dff5945ef3b0e085915cfbd), [/tmp/hf-datasets-cache/medium/datasets/83817775084254-config-parquet-and-info-aparajita-customerserve-d-1491093b/hub/datasets--aparajita--customerserve-data/snapshots/a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/order_items.csv (origin=hf://datasets/aparajita/customerserve-data@a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/order_items.csv), /tmp/hf-datasets-cache/medium/datasets/83817775084254-config-parquet-and-info-aparajita-customerserve-d-1491093b/hub/datasets--aparajita--customerserve-data/snapshots/a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/orders.csv (origin=hf://datasets/aparajita/customerserve-data@a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/orders.csv), /tmp/hf-datasets-cache/medium/datasets/83817775084254-config-parquet-and-info-aparajita-customerserve-d-1491093b/hub/datasets--aparajita--customerserve-data/snapshots/a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/products.csv (origin=hf://datasets/aparajita/customerserve-data@a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/products.csv)]
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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
order_id: string
customer_id: int64
order_date: string
order_ts: string
city: string
state: string
payment_method: string
order_status: string
total_amount: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1329
to
{'order_id': Value('string'), 'product_id': Value('int64'), 'quantity': Value('int64'), 'unit_price': Value('float64'), 'discount': Value('float64'), 'net_amount': 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 1347, 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 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1802, 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 8 new columns ({'order_status', 'order_ts', 'payment_method', 'customer_id', 'total_amount', 'state', 'order_date', 'city'}) and 5 missing columns ({'quantity', 'unit_price', 'net_amount', 'product_id', 'discount'}).
This happened while the csv dataset builder was generating data using
hf://datasets/aparajita/customerserve-data/orders.csv (at revision a3bd4ce1389b46b60dff5945ef3b0e085915cfbd), [/tmp/hf-datasets-cache/medium/datasets/83817775084254-config-parquet-and-info-aparajita-customerserve-d-1491093b/hub/datasets--aparajita--customerserve-data/snapshots/a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/order_items.csv (origin=hf://datasets/aparajita/customerserve-data@a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/order_items.csv), /tmp/hf-datasets-cache/medium/datasets/83817775084254-config-parquet-and-info-aparajita-customerserve-d-1491093b/hub/datasets--aparajita--customerserve-data/snapshots/a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/orders.csv (origin=hf://datasets/aparajita/customerserve-data@a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/orders.csv), /tmp/hf-datasets-cache/medium/datasets/83817775084254-config-parquet-and-info-aparajita-customerserve-d-1491093b/hub/datasets--aparajita--customerserve-data/snapshots/a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/products.csv (origin=hf://datasets/aparajita/customerserve-data@a3bd4ce1389b46b60dff5945ef3b0e085915cfbd/products.csv)]
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.
order_id string | product_id int64 | quantity int64 | unit_price float64 | discount float64 | net_amount float64 |
|---|---|---|---|---|---|
Byk-0 | 6,514 | 3 | 3,614.06 | 275.99 | 10,566.19 |
Byk-0 | 2,222 | 4 | 4,539.08 | 1,090.19 | 17,066.13 |
Byk-0 | 40,137 | 4 | 85.64 | 12.91 | 329.65 |
Byk-1 | 48,440 | 3 | 1,384.96 | 317.69 | 3,837.19 |
Byk-1 | 52,122 | 1 | 3,002 | 108.78 | 2,893.22 |
Byk-1 | 40,858 | 3 | 2,395.82 | null | 7,187.46 |
Byk-2 | 45,963 | 2 | 3,122.09 | 72.88 | 6,171.3 |
Byk-2 | 115,887 | 5 | 357.72 | 96.35 | 1,692.25 |
Byk-2 | 71,959 | 4 | 4,822.6 | 1,251.47 | 18,038.93 |
Byk-3 | 57,701 | 5 | 4,472.58 | null | 22,362.9 |
Byk-3 | 22,980 | 5 | 663.12 | null | 3,315.6 |
Byk-3 | 138,606 | 1 | 3,690.75 | 367.85 | 3,322.9 |
Byk-4 | 106,010 | 1 | 1,232.65 | 94.58 | 1,138.07 |
Byk-4 | 73,277 | 4 | 3,336.27 | 63.27 | 13,281.81 |
Byk-4 | 93,248 | 3 | 1,769.04 | 319.56 | 4,987.56 |
Byk-5 | 124,731 | 3 | 1,187.38 | 114.27 | 3,447.87 |
Byk-5 | 56,470 | 5 | 3,815.89 | 1,639 | 17,440.45 |
Byk-5 | 35,123 | 1 | 3,610.77 | 258.05 | 3,352.72 |
Byk-6 | 75,280 | 2 | 1,359.57 | 92.21 | 2,626.93 |
Byk-6 | 31,809 | 1 | 1,014.47 | 100.49 | 913.98 |
Byk-6 | 106,186 | 3 | 2,629.26 | 258.83 | 7,628.95 |
Byk-7 | 38,782 | 4 | 2,099.51 | 353.56 | 8,044.48 |
Byk-7 | 61,393 | 3 | 2,589.66 | 315.63 | 7,453.35 |
Byk-7 | 50,038 | 1 | 3,616.53 | 22.64 | 3,593.89 |
Byk-8 | 33,701 | 3 | 166.52 | 35.54 | 464.02 |
Byk-8 | 107,285 | 2 | 3,693.86 | 23.31 | 7,364.41 |
Byk-8 | 6,326 | 4 | 4,870.3 | 1,219.26 | 18,261.94 |
Byk-9 | 136,209 | 2 | 4,804.6 | 426.15 | 9,183.05 |
Byk-9 | 139,491 | 4 | 4,356.7 | 1,543.9 | 15,882.9 |
Byk-9 | 78,000 | 2 | 532.13 | 22.51 | 1,041.75 |
Byk-10 | 49,799 | 5 | 3,705.1 | 1,021.35 | 17,504.15 |
Byk-10 | 37,723 | 5 | 2,316.65 | 225.12 | 11,358.13 |
Byk-10 | 83,072 | 3 | 3,464.37 | 687.68 | 9,705.43 |
Byk-11 | 34,741 | 4 | 1,313.23 | 430.5 | 4,822.42 |
Byk-11 | 111,897 | 3 | 3,405.53 | 410.05 | 9,806.54 |
Byk-11 | 93,765 | 2 | 1,239.78 | 139.39 | 2,340.17 |
Byk-12 | 56,837 | 1 | 4,882.6 | 31.24 | 4,851.36 |
Byk-12 | 29,580 | 4 | 2,892.9 | 809.23 | 10,762.37 |
Byk-12 | 139,391 | 2 | 1,677.09 | 152.18 | 3,202 |
Byk-13 | 90,981 | 5 | 2,820.86 | null | 14,104.3 |
Byk-13 | 140,803 | 5 | 4,063.48 | 566.04 | 19,751.36 |
Byk-13 | 86,828 | 5 | 4,152.25 | 1,256.28 | 19,504.97 |
Byk-14 | 101,558 | 3 | 1,621.47 | 197.62 | 4,666.79 |
Byk-14 | 145,871 | 4 | 4,668.73 | null | 18,674.92 |
Byk-14 | 106,899 | 2 | 1,808.88 | null | 3,617.76 |
Byk-15 | 64,299 | 2 | 4,294.02 | 852.4 | 7,735.64 |
Byk-15 | 88,311 | 2 | 1,179.69 | null | 2,359.38 |
Byk-15 | 80,288 | 3 | 3,966.79 | 757.16 | 11,143.21 |
Byk-16 | 55,345 | 3 | 970.76 | 230.21 | 2,682.07 |
Byk-16 | 32,053 | 4 | 536.09 | 63.47 | 2,080.89 |
Byk-16 | 29,405 | 2 | 1,417.24 | null | 2,834.48 |
Byk-17 | 86,887 | 5 | 2,636.27 | 1,031.3 | 12,150.05 |
Byk-17 | 131,837 | 3 | 2,523.07 | 693.43 | 6,875.78 |
Byk-17 | 87,260 | 3 | 4,194.1 | 701.54 | 11,880.76 |
Byk-18 | 145,733 | 1 | 4,430.69 | 220.85 | 4,209.84 |
Byk-18 | 128,662 | 3 | 804.78 | null | 2,414.34 |
Byk-18 | 69,327 | 1 | 4,068.94 | 405.24 | 3,663.7 |
Byk-19 | 44,079 | 4 | 3,071.93 | 114.39 | 12,173.33 |
Byk-19 | 106,360 | 2 | 1,506.7 | 119.12 | 2,894.28 |
Byk-19 | 71,535 | 4 | 4,319.51 | 1,450.82 | 15,827.22 |
Byk-20 | 40,185 | 3 | 2,395.14 | 163.92 | 7,021.5 |
Byk-20 | 137,531 | 4 | 236.28 | 24.16 | 920.96 |
Byk-20 | 110,718 | 3 | 3,053.57 | null | 9,160.71 |
Byk-21 | 67,050 | 2 | 1,499.32 | 56.68 | 2,941.96 |
Byk-21 | 30,319 | 5 | 856.72 | 17.51 | 4,266.09 |
Byk-21 | 49,819 | 4 | 354.98 | null | 1,419.92 |
Byk-22 | 124,857 | 3 | 1,008.51 | null | 3,025.53 |
Byk-22 | 103,039 | 3 | 1,050.67 | 288.32 | 2,863.69 |
Byk-22 | 4,270 | 3 | 4,366.26 | 1,180.66 | 11,918.12 |
Byk-23 | 73,966 | 3 | 2,520.36 | 617.14 | 6,943.94 |
Byk-23 | 68,928 | 5 | 861.15 | null | 4,305.75 |
Byk-23 | 5,548 | 4 | 1,820.4 | 529.54 | 6,752.06 |
Byk-24 | 8,690 | 2 | 4,558.99 | 761.62 | 8,356.36 |
Byk-24 | 10,938 | 1 | 3,407.02 | 196.07 | 3,210.95 |
Byk-24 | 19,674 | 4 | 2,915.3 | 746.87 | 10,914.33 |
Byk-25 | 27,454 | 5 | 3,126.98 | 315.49 | 15,319.41 |
Byk-25 | 83,835 | 4 | 737.57 | 266.77 | 2,683.51 |
Byk-25 | 61,985 | 2 | 65.02 | 12.34 | 117.7 |
Byk-26 | 104,808 | 2 | 3,035.26 | 142.72 | 5,927.8 |
Byk-26 | 85,976 | 1 | 438.62 | 22.62 | 416 |
Byk-26 | 60,528 | 4 | 2,354.35 | 908.67 | 8,508.73 |
Byk-27 | 124,950 | 1 | 2,735.42 | 198.97 | 2,536.45 |
Byk-27 | 68,811 | 1 | 3,537.48 | 223.52 | 3,313.96 |
Byk-27 | 6,518 | 5 | 441.1 | 21.83 | 2,183.67 |
Byk-28 | 77,899 | 2 | 796.61 | 152.73 | 1,440.49 |
Byk-28 | 58,220 | 3 | 1,096.52 | 254.79 | 3,034.77 |
Byk-28 | 2,198 | 3 | 4,463.27 | null | 13,389.81 |
Byk-29 | 115,198 | 3 | 3,383.45 | 796.56 | 9,353.79 |
Byk-29 | 16,882 | 3 | 2,505.59 | 338.31 | 7,178.46 |
Byk-29 | 4,084 | 4 | 1,700.28 | null | 6,801.12 |
Byk-30 | 32,130 | 3 | 3,719.99 | 537.51 | 10,622.46 |
Byk-30 | 127,543 | 1 | 3,734.81 | 178.34 | 3,556.47 |
Byk-30 | 51,676 | 3 | 3,206.54 | 684.49 | 8,935.13 |
Byk-31 | 139,240 | 3 | 3,154.61 | null | 9,463.83 |
Byk-31 | 101,200 | 1 | 1,117.52 | 84.48 | 1,033.04 |
Byk-31 | 65,265 | 5 | 2,766.74 | 1,364.87 | 12,468.83 |
Byk-32 | 4,779 | 4 | 1,332.45 | 44.33 | 5,285.47 |
Byk-32 | 103,088 | 4 | 4,753.14 | 538.82 | 18,473.74 |
Byk-32 | 96,050 | 5 | 1,137.89 | 16.14 | 5,673.31 |
Byk-33 | 123,353 | 4 | 2,163.07 | 632.62 | 8,019.66 |
End of preview.
No dataset card yet
- Downloads last month
- 44