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 ({'excluded_notice_count', 'merged_window_count', 'current_notice_count', 'eligible_notice_count', 'line_name', 'disruption_minutes'}) and 2 missing columns ({'notice_title', 'reason'}).
This happened while the csv dataset builder was generating data using
hf://datasets/SOTAagi2030/Civic-Transit-Disruption-Windows/reports/line-summary.csv (at revision c90514081af96ebb298f59f1250455a67264274d), ['hf://datasets/SOTAagi2030/Civic-Transit-Disruption-Windows@c90514081af96ebb298f59f1250455a67264274d/reports/excluded-notices.csv', 'hf://datasets/SOTAagi2030/Civic-Transit-Disruption-Windows@c90514081af96ebb298f59f1250455a67264274d/reports/line-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 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 784, 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 795, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
line_name: string
current_notice_count: int64
eligible_notice_count: int64
excluded_notice_count: int64
merged_window_count: int64
disruption_minutes: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1078
to
{'notice_title': Value('string'), 'reason': 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 1369, 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 948, 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 1694, 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 1850, 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 ({'excluded_notice_count', 'merged_window_count', 'current_notice_count', 'eligible_notice_count', 'line_name', 'disruption_minutes'}) and 2 missing columns ({'notice_title', 'reason'}).
This happened while the csv dataset builder was generating data using
hf://datasets/SOTAagi2030/Civic-Transit-Disruption-Windows/reports/line-summary.csv (at revision c90514081af96ebb298f59f1250455a67264274d), ['hf://datasets/SOTAagi2030/Civic-Transit-Disruption-Windows@c90514081af96ebb298f59f1250455a67264274d/reports/excluded-notices.csv', 'hf://datasets/SOTAagi2030/Civic-Transit-Disruption-Windows@c90514081af96ebb298f59f1250455a67264274d/reports/line-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.
notice_title string | reason string |
|---|---|
Canopy review | NOTICE_NOT_CONFIRMED |
Quarry gate work | LINE_NOT_PUBLIC |
Temporary stop work | UNKNOWN_LINE |
Clock correction | INVALID_INTERVAL |
Emergency response | IMPACT_NOT_INCLUDED |
null | null |
null | null |
null | null |
Civic Transit Disruption Windows
This dataset consolidates overlapping and touching planned service notices into public interruption windows. Internal identifiers are omitted.
Release audit
- Physical notice rows: 12
- Current notices: 11
- Notices on known lines: 10
- Notices on public lines: 9
- Confirmed notices: 8
- Planned notices: 7
- Valid intervals: 6
- Eligible notices: 6
- Excluded notices: 5
- Consolidated windows: 4
- Disruption minutes: 180
Times are integer minutes within the stated service day. Overlapping time is counted once.
- Downloads last month
- 104