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 3 new columns ({'Train_ID', 'Service', 'Time'}) and 7 missing columns ({'Annual_interchanges', 'Total_Passengers', 'Main_Services', 'Station_ID', 'Location', 'Number_of_Platforms', 'Annual_entry_exit'}).
This happened while the csv dataset builder was generating data using
hf://datasets/kekmodel/sql-forge/academic/spider/train_station/data/train.csv (at revision 0edfe6a8a083b28790a31d875f4426fd16adc693)
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 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
Train_ID: int64
Name: string
Time: string
Service: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 703
to
{'Station_ID': Value('int64'), 'Name': Value('string'), 'Annual_entry_exit': Value('float64'), 'Annual_interchanges': Value('float64'), 'Total_Passengers': Value('float64'), 'Location': Value('string'), 'Main_Services': Value('string'), 'Number_of_Platforms': 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 1334, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 911, in stream_convert_to_parquet
builder._prepare_split(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, 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 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 3 new columns ({'Train_ID', 'Service', 'Time'}) and 7 missing columns ({'Annual_interchanges', 'Total_Passengers', 'Main_Services', 'Station_ID', 'Location', 'Number_of_Platforms', 'Annual_entry_exit'}).
This happened while the csv dataset builder was generating data using
hf://datasets/kekmodel/sql-forge/academic/spider/train_station/data/train.csv (at revision 0edfe6a8a083b28790a31d875f4426fd16adc693)
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.
Station_ID int64 | Name string | Annual_entry_exit float64 | Annual_interchanges float64 | Total_Passengers float64 | Location string | Main_Services string | Number_of_Platforms int64 |
|---|---|---|---|---|---|---|---|
1 | London Waterloo | 94.046 | 9.489 | 103.534 | London | South Western Main Line West of England Main Line | 19 |
2 | London Victoria | 76.231 | 9.157 | 85.38 | London | Brighton Main Line Chatham Main Line | 19 |
3 | London Bridge | 52.634 | 8.742 | 61.376 | London | South Eastern Main Line Thameslink | 12 |
4 | London Liverpool Street | 57.107 | 2.353 | 59.46 | London | Great Eastern Main Line West Anglia Main Line | 18 |
5 | London Euston | 36.609 | 3.832 | 40.44 | London | West Coast Main Line | 18 |
6 | London Charing Cross | 38.005 | 1.99 | 39.995 | London | South Eastern Main Line | 6 |
7 | Birmingham New Street | 31.214 | 5.118 | 36.331 | Birmingham | West Coast Main Line Cross Country Route | 13 |
8 | London King's Cross | 27.875 | 3.022 | 30.896 | London | East Coast Main Line | 12 |
9 | Glasgow Central | 26.639 | 3.018 | 29.658 | Glasgow | West Coast Main Line | 17 |
10 | East Croydon | 20.551 | 6.341 | 26.892 | London | Brighton Main Line | 6 |
11 | London St Pancras | 22.996 | 3.676 | 26.672 | London | Midland Main Line Thameslink High-Speed 1 Eurostar | 15 |
12 | Stratford | 21.797 | 2.064 | 23.862 | London | Great Eastern Main Line Lea Valley Lines | 15 |
null | Ananthapuri Express | null | null | null | null | null | null |
null | Guruvayur Express | null | null | null | null | null | null |
null | Guruvayur Express | null | null | null | null | null | null |
null | Ananthapuri Express | null | null | null | null | null | null |
null | Jayanthi Janatha Express | null | null | null | null | null | null |
null | Island Express | null | null | null | null | null | null |
null | Madurai Fast Passenger | null | null | null | null | null | null |
null | Quilon Fast Passenger | null | null | null | null | null | null |
null | Island Express | null | null | null | null | null | null |
null | Jayanthi Janatha Express | null | null | null | null | null | null |
null | Parasuram Express | null | null | null | null | null | null |
1 | null | null | null | null | null | null | null |
1 | null | null | null | null | null | null | null |
1 | null | null | null | null | null | null | null |
2 | null | null | null | null | null | null | null |
3 | null | null | null | null | null | null | null |
5 | null | null | null | null | null | null | null |
8 | null | null | null | null | null | null | null |
9 | null | null | null | null | null | null | null |
9 | null | null | null | null | null | null | null |
10 | null | null | null | null | null | null | null |
10 | null | null | null | null | null | null | null |
No dataset card yet
- Downloads last month
- 227