Dataset Preview
Full Screen
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 ({'Origin_lat', 'Destination_lat', 'Trip_distance', 'Origin_lon', 'Destination_lon', 'Timestamp'}) and 1 missing columns ({'ETA'}).

This happened while the csv dataset builder was generating data using

hf://datasets/gabcares/yassir-data/Test.csv (at revision 8dd7cf0f718c56b221498f99a72d743cb766e6b2)

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: string
              Timestamp: string
              Origin_lat: double
              Origin_lon: double
              Destination_lat: double
              Destination_lon: double
              Trip_distance: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1112
              to
              {'ID': Value(dtype='string', id=None), 'ETA': 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 1534, 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 1155, 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 6 new columns ({'Origin_lat', 'Destination_lat', 'Trip_distance', 'Origin_lon', 'Destination_lon', 'Timestamp'}) and 1 missing columns ({'ETA'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/gabcares/yassir-data/Test.csv (at revision 8dd7cf0f718c56b221498f99a72d743cb766e6b2)
              
              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.

ID
string
ETA
int64
000V4BQX
0
003WBC5J
0
004O4X3A
0
006CEI5B
0
009G0M2T
0
00A3ZHHB
0
00BRKED8
0
00F6T3BP
0
00HN6E8I
0
00HS3XXF
0
00I2LQXB
0
00L8B0SE
0
00OWTXZD
0
00PNEC3Z
0
00R4O0RU
0
00UN3NTN
0
00VNR98C
0
00WNC10D
0
00XN24ZZ
0
00XUV5ZA
0
00XYODZY
0
00Y55WG1
0
00Z2KCDZ
0
00ZZRLPD
0
010YSNCO
0
012RRJ0R
0
012V36NR
0
014PL5HN
0
017DQTZ5
0
019LKXYD
0
01BFEF3D
0
01F3EMGD
0
01F56BTX
0
01F5WFIJ
0
01HMMFP3
0
01IHFY2V
0
01JM9RTG
0
01KDGA66
0
01KUEVC1
0
01LFCY6Z
0
01LZ4P3C
0
01M0W4B4
0
01MEWIXE
0
01NBG1SI
0
01O3DI4E
0
01OZ7SN8
0
01P9UDI0
0
01QFQ7LR
0
01QH2MKZ
0
01QVEQBG
0
01T7QMDR
0
01V9XYE3
0
01VG75BO
0
01VGB3CZ
0
01VQFSVE
0
021D1H50
0
024IZALO
0
025SHTKR
0
02C4QT1S
0
02DLUXW8
0
02DVTSHX
0
02GRBULM
0
02HQP80U
0
02IIEJ0Y
0
02OAKS3W
0
02PE735S
0
02RVJ3NX
0
02YGVXX0
0
02Z6J93C
0
02ZBMA6T
0
030W4UC5
0
031BTSPP
0
0345CSH2
0
035KDW25
0
0370TUOH
0
037DEX64
0
0385UYE7
0
0394NO1C
0
03B57WF0
0
03D0CZ12
0
03DV7DSY
0
03F9MKMS
0
03FFU7QC
0
03FT8UJ5
0
03GIAKYC
0
03GSIPUW
0
03H42QBA
0
03HEO6XD
0
03HUWDQT
0
03I2XAUZ
0
03P3BRWX
0
03R3QV2D
0
03SQRSGA
0
03SQX4SO
0
03T7B0MV
0
03U3P3FB
0
03Y93852
0
03ZJ8ZHS
0
03ZJ8ZJA
0
0410QY1K
0
End of preview.

The data contains details for 119,549 trips (train and test are split by date). Each row contains a start location and end location (reported as latitude and longitude to within approximately 100m) and the travel distance along the fastest route. Each trip also has a timestamp, which can be used to pull the weather for that day from Weather.csv file. The weather data includes temperature, rainfall and wind speed for the time period during which the trip data was collected.

Variable Descriptions:

  • ID: Unique identifier for each trip.

  • Timestamp: Time when the trip started.

  • Origin_lat, Origin_lon: Latitude and longitude of the trip's start location.

  • Destination_lat, Destination_lon: Latitude and longitude of the trip's end location.

  • Trip_distance: Distance in meters on the driving route.

  • ETA: Estimated trip time in seconds.

Downloads last month
38