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 ({'id'}) and 1 missing columns ({'sales'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ibnummuhammad/coal-price-data/demand-forecasting-kernels-only/test.csv (at revision 70784cf9108c4c64f408f2b89e852dffdf7d6376)
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
date: string
store: int64
item: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 684
to
{'date': Value(dtype='string', id=None), 'store': Value(dtype='int64', id=None), 'item': Value(dtype='int64', id=None), 'sales': 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 1321, 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 935, 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 1 new columns ({'id'}) and 1 missing columns ({'sales'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ibnummuhammad/coal-price-data/demand-forecasting-kernels-only/test.csv (at revision 70784cf9108c4c64f408f2b89e852dffdf7d6376)
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.
date
string | store
int64 | item
int64 | sales
int64 |
|---|---|---|---|
2013-01-01
| 1
| 1
| 13
|
2013-01-02
| 1
| 1
| 11
|
2013-01-03
| 1
| 1
| 14
|
2013-01-04
| 1
| 1
| 13
|
2013-01-05
| 1
| 1
| 10
|
2013-01-06
| 1
| 1
| 12
|
2013-01-07
| 1
| 1
| 10
|
2013-01-08
| 1
| 1
| 9
|
2013-01-09
| 1
| 1
| 12
|
2013-01-10
| 1
| 1
| 9
|
2013-01-11
| 1
| 1
| 9
|
2013-01-12
| 1
| 1
| 7
|
2013-01-13
| 1
| 1
| 10
|
2013-01-14
| 1
| 1
| 12
|
2013-01-15
| 1
| 1
| 5
|
2013-01-16
| 1
| 1
| 7
|
2013-01-17
| 1
| 1
| 16
|
2013-01-18
| 1
| 1
| 7
|
2013-01-19
| 1
| 1
| 18
|
2013-01-20
| 1
| 1
| 15
|
2013-01-21
| 1
| 1
| 8
|
2013-01-22
| 1
| 1
| 7
|
2013-01-23
| 1
| 1
| 9
|
2013-01-24
| 1
| 1
| 8
|
2013-01-25
| 1
| 1
| 14
|
2013-01-26
| 1
| 1
| 12
|
2013-01-27
| 1
| 1
| 12
|
2013-01-28
| 1
| 1
| 11
|
2013-01-29
| 1
| 1
| 6
|
2013-01-30
| 1
| 1
| 9
|
2013-01-31
| 1
| 1
| 13
|
2013-02-01
| 1
| 1
| 11
|
2013-02-02
| 1
| 1
| 21
|
2013-02-03
| 1
| 1
| 15
|
2013-02-04
| 1
| 1
| 14
|
2013-02-05
| 1
| 1
| 9
|
2013-02-06
| 1
| 1
| 10
|
2013-02-07
| 1
| 1
| 13
|
2013-02-08
| 1
| 1
| 11
|
2013-02-09
| 1
| 1
| 14
|
2013-02-10
| 1
| 1
| 11
|
2013-02-11
| 1
| 1
| 16
|
2013-02-12
| 1
| 1
| 11
|
2013-02-13
| 1
| 1
| 14
|
2013-02-14
| 1
| 1
| 10
|
2013-02-15
| 1
| 1
| 11
|
2013-02-16
| 1
| 1
| 7
|
2013-02-17
| 1
| 1
| 11
|
2013-02-18
| 1
| 1
| 10
|
2013-02-19
| 1
| 1
| 10
|
2013-02-20
| 1
| 1
| 7
|
2013-02-21
| 1
| 1
| 13
|
2013-02-22
| 1
| 1
| 12
|
2013-02-23
| 1
| 1
| 15
|
2013-02-24
| 1
| 1
| 11
|
2013-02-25
| 1
| 1
| 7
|
2013-02-26
| 1
| 1
| 9
|
2013-02-27
| 1
| 1
| 9
|
2013-02-28
| 1
| 1
| 10
|
2013-03-01
| 1
| 1
| 15
|
2013-03-02
| 1
| 1
| 13
|
2013-03-03
| 1
| 1
| 20
|
2013-03-04
| 1
| 1
| 14
|
2013-03-05
| 1
| 1
| 13
|
2013-03-06
| 1
| 1
| 17
|
2013-03-07
| 1
| 1
| 11
|
2013-03-08
| 1
| 1
| 15
|
2013-03-09
| 1
| 1
| 16
|
2013-03-10
| 1
| 1
| 11
|
2013-03-11
| 1
| 1
| 18
|
2013-03-12
| 1
| 1
| 14
|
2013-03-13
| 1
| 1
| 13
|
2013-03-14
| 1
| 1
| 10
|
2013-03-15
| 1
| 1
| 14
|
2013-03-16
| 1
| 1
| 10
|
2013-03-17
| 1
| 1
| 22
|
2013-03-18
| 1
| 1
| 11
|
2013-03-19
| 1
| 1
| 19
|
2013-03-20
| 1
| 1
| 14
|
2013-03-21
| 1
| 1
| 17
|
2013-03-22
| 1
| 1
| 21
|
2013-03-23
| 1
| 1
| 21
|
2013-03-24
| 1
| 1
| 19
|
2013-03-25
| 1
| 1
| 13
|
2013-03-26
| 1
| 1
| 16
|
2013-03-27
| 1
| 1
| 11
|
2013-03-28
| 1
| 1
| 13
|
2013-03-29
| 1
| 1
| 17
|
2013-03-30
| 1
| 1
| 19
|
2013-03-31
| 1
| 1
| 20
|
2013-04-01
| 1
| 1
| 11
|
2013-04-02
| 1
| 1
| 19
|
2013-04-03
| 1
| 1
| 24
|
2013-04-04
| 1
| 1
| 18
|
2013-04-05
| 1
| 1
| 19
|
2013-04-06
| 1
| 1
| 23
|
2013-04-07
| 1
| 1
| 17
|
2013-04-08
| 1
| 1
| 19
|
2013-04-09
| 1
| 1
| 13
|
2013-04-10
| 1
| 1
| 19
|
End of preview.
No dataset card yet
- Downloads last month
- 4