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 6 new columns ({'retained_segments', 'availability_percent', 'published_blocks', 'route', 'accepted_closure_minutes', 'retained_minutes'}) and 2 missing columns ({'closure_id', 'decision'}).
This happened while the csv dataset builder was generating data using
hf://datasets/SOTAagi2030/Metro-Service-Windows-244/reports/route-summary.csv (at revision 751ea2b96b1d3b7fcaf5e700269a33b1208a51cf), ['hf://datasets/SOTAagi2030/Metro-Service-Windows-244@751ea2b96b1d3b7fcaf5e700269a33b1208a51cf/reports/closure-audit.csv', 'hf://datasets/SOTAagi2030/Metro-Service-Windows-244@751ea2b96b1d3b7fcaf5e700269a33b1208a51cf/reports/route-summary.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.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
route: string
retained_segments: int64
published_blocks: int64
retained_minutes: int64
accepted_closure_minutes: int64
availability_percent: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1062
to
{'closure_id': Value('string'), 'decision': Value('string')}
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 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
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 6 new columns ({'retained_segments', 'availability_percent', 'published_blocks', 'route', 'accepted_closure_minutes', 'retained_minutes'}) and 2 missing columns ({'closure_id', 'decision'}).
This happened while the csv dataset builder was generating data using
hf://datasets/SOTAagi2030/Metro-Service-Windows-244/reports/route-summary.csv (at revision 751ea2b96b1d3b7fcaf5e700269a33b1208a51cf), ['hf://datasets/SOTAagi2030/Metro-Service-Windows-244@751ea2b96b1d3b7fcaf5e700269a33b1208a51cf/reports/closure-audit.csv', 'hf://datasets/SOTAagi2030/Metro-Service-Windows-244@751ea2b96b1d3b7fcaf5e700269a33b1208a51cf/reports/route-summary.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.
closure_id string | decision string |
|---|---|
C-01 | ACCEPTED |
C-02 | ACCEPTED |
C-03 | ACCEPTED |
C-04 | ACCEPTED |
C-05 | UNKNOWN_BLOCK |
C-06 | RESTRICTED_BLOCK |
C-07 | UNSUPPORTED_REASON |
C-08 | UNVERIFIED |
C-09 | OUTSIDE_BLOCK |
C-10 | OUTSIDE_BLOCK |
C-11 | OUTSIDE_BLOCK |
C-12 | OUTSIDE_BLOCK |
null | null |
null | null |
null | null |
- Downloads last month
- -