GetAround
Collection
Hugging face collection for the GetAround project (dsfs-ft-35) • 4 items • Updated
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 15 new columns ({'mileage', 'fuel', 'paint_color', 'automatic_car', 'has_speed_regulator', 'has_air_conditioning', 'has_gps', 'rental_price_per_day', 'id', 'car_type', 'winter_tires', 'has_getaround_connect', 'private_parking_available', 'engine_power', 'model_key'}) and 1 missing columns ({'rental_id;car_id;checkin_type;state;delay_at_checkout_in_minutes;previous_ended_rental_id;time_delta_with_previous_rental_in_minutes;;'}).
This happened while the csv dataset builder was generating data using
hf://datasets/pradelf/getaround-dataset/get_around_pricing_project.csv (at revision 7a1d7f9e364920dd126bb83ad33d662ee4e6550b), [/tmp/hf-datasets-cache/medium/datasets/76728015870664-config-parquet-and-info-pradelf-getaround-dataset-1dfd543c/hub/datasets--pradelf--getaround-dataset/snapshots/7a1d7f9e364920dd126bb83ad33d662ee4e6550b/get_around_delay_analysis.csv (origin=hf://datasets/pradelf/getaround-dataset@7a1d7f9e364920dd126bb83ad33d662ee4e6550b/get_around_delay_analysis.csv), /tmp/hf-datasets-cache/medium/datasets/76728015870664-config-parquet-and-info-pradelf-getaround-dataset-1dfd543c/hub/datasets--pradelf--getaround-dataset/snapshots/7a1d7f9e364920dd126bb83ad33d662ee4e6550b/get_around_pricing_project.csv (origin=hf://datasets/pradelf/getaround-dataset@7a1d7f9e364920dd126bb83ad33d662ee4e6550b/get_around_pricing_project.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.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 675, 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
id: int64
model_key: string
mileage: int64
engine_power: int64
fuel: string
paint_color: string
car_type: string
private_parking_available: bool
has_gps: bool
has_air_conditioning: bool
automatic_car: bool
has_getaround_connect: bool
has_speed_regulator: bool
winter_tires: bool
rental_price_per_day: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2095
to
{'rental_id;car_id;checkin_type;state;delay_at_checkout_in_minutes;previous_ended_rental_id;time_delta_with_previous_rental_in_minutes;;': 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 1347, 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 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, 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 1889, 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 15 new columns ({'mileage', 'fuel', 'paint_color', 'automatic_car', 'has_speed_regulator', 'has_air_conditioning', 'has_gps', 'rental_price_per_day', 'id', 'car_type', 'winter_tires', 'has_getaround_connect', 'private_parking_available', 'engine_power', 'model_key'}) and 1 missing columns ({'rental_id;car_id;checkin_type;state;delay_at_checkout_in_minutes;previous_ended_rental_id;time_delta_with_previous_rental_in_minutes;;'}).
This happened while the csv dataset builder was generating data using
hf://datasets/pradelf/getaround-dataset/get_around_pricing_project.csv (at revision 7a1d7f9e364920dd126bb83ad33d662ee4e6550b), [/tmp/hf-datasets-cache/medium/datasets/76728015870664-config-parquet-and-info-pradelf-getaround-dataset-1dfd543c/hub/datasets--pradelf--getaround-dataset/snapshots/7a1d7f9e364920dd126bb83ad33d662ee4e6550b/get_around_delay_analysis.csv (origin=hf://datasets/pradelf/getaround-dataset@7a1d7f9e364920dd126bb83ad33d662ee4e6550b/get_around_delay_analysis.csv), /tmp/hf-datasets-cache/medium/datasets/76728015870664-config-parquet-and-info-pradelf-getaround-dataset-1dfd543c/hub/datasets--pradelf--getaround-dataset/snapshots/7a1d7f9e364920dd126bb83ad33d662ee4e6550b/get_around_pricing_project.csv (origin=hf://datasets/pradelf/getaround-dataset@7a1d7f9e364920dd126bb83ad33d662ee4e6550b/get_around_pricing_project.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.
rental_id;car_id;checkin_type;state;delay_at_checkout_in_minutes;previous_ended_rental_id;time_delta_with_previous_rental_in_minutes;; string |
|---|
505000;363965;mobile;canceled;;;;; |
507750;269550;mobile;ended;-81;;;; |
508131;359049;connect;ended;70;;;; |
508865;299063;connect;canceled;;;;; |
511440;313932;mobile;ended;;;;; |
511626;398802;mobile;ended;-203;;;; |
511639;370585;connect;ended;-15;563782;570;; |
512303;371242;mobile;ended;-44;;;; |
512475;322502;mobile;canceled;;;;; |
513434;256528;connect;ended;23;;;; |
513743;330658;mobile;canceled;;;;; |
514161;366037;connect;canceled;;;;; |
514257;402596;mobile;ended;214;;;; |
515147;257466;mobile;ended;15;;;; |
516586;347394;mobile;canceled;;;;; |
518282;364160;connect;ended;-81;;;; |
518366;397217;mobile;ended;-156;;;; |
518895;398816;mobile;ended;66;;;; |
518938;382243;mobile;ended;215;;;; |
519491;312389;mobile;ended;58;545639;420;; |
519795;383720;connect;ended;-159;;;; |
520095;404496;mobile;ended;-16;;;; |
520285;243659;mobile;canceled;;;;; |
521156;392479;mobile;ended;;537298;0;; |
521191;224745;mobile;ended;1452;;;; |
521352;403184;mobile;ended;-29;;;; |
521482;254172;mobile;canceled;;;;; |
521734;190995;mobile;ended;-251;;;; |
522602;391287;mobile;ended;35;;;; |
522717;335353;mobile;ended;;;;; |
523800;352799;mobile;ended;-345;;;; |
524408;380247;mobile;canceled;;;;; |
524422;298040;mobile;canceled;;;;; |
524806;337859;mobile;ended;-26;;;; |
525044;349751;mobile;ended;;510607;60;; |
525817;351617;mobile;ended;22;;;; |
526798;356877;mobile;ended;-15;;;; |
527377;306450;connect;ended;52;;;; |
527569;314220;mobile;ended;-2;;;; |
527627;402562;connect;ended;-1;;;; |
528808;181625;connect;ended;-76;557404;330;; |
528974;373328;mobile;canceled;;;;; |
529170;341798;mobile;canceled;;;;; |
529193;374877;mobile;ended;15;;;; |
529288;381098;mobile;canceled;;;;; |
529347;391792;mobile;ended;;;;; |
529458;331480;mobile;ended;;;;; |
529852;363433;mobile;ended;-68;;;; |
530646;259092;mobile;ended;-340;;;; |
530700;221171;mobile;ended;130;;;; |
531158;404169;mobile;ended;29;;;; |
531507;355554;mobile;ended;-4;;;; |
531526;404562;mobile;ended;-160;;;; |
531955;317639;mobile;ended;-30;;;; |
531961;234356;mobile;ended;-47;;;; |
532245;361468;connect;ended;-63;;;; |
532416;275810;mobile;ended;-148;;;; |
532495;378257;mobile;ended;44;;;; |
532802;373061;mobile;ended;-98;;;; |
533294;364052;mobile;ended;-33;;;; |
533303;336902;mobile;ended;-340;;;; |
533380;314456;connect;ended;-167;;;; |
533442;389958;mobile;ended;31;;;; |
533611;388597;mobile;canceled;;;;; |
533670;320824;connect;ended;-6;556563;630;; |
533683;271380;mobile;ended;79;;;; |
533696;408511;mobile;ended;;;;; |
533790;394562;mobile;ended;30;;;; |
534017;370797;mobile;canceled;;;;; |
534091;399459;mobile;canceled;;;;; |
534611;392176;mobile;ended;33;;;; |
534654;303652;mobile;ended;-52;;;; |
534789;395243;mobile;ended;44;;;; |
534820;373893;connect;ended;-576;;;; |
534827;404169;mobile;ended;-7;531158;90;; |
534882;194379;mobile;canceled;;;;; |
534926;390702;connect;ended;-178;;;; |
534943;358567;connect;ended;37;;;; |
534956;344594;mobile;ended;24;;;; |
535071;358480;mobile;ended;40;;;; |
535116;380364;mobile;ended;137;;;; |
535139;384575;mobile;ended;249;;;; |
535313;396552;mobile;ended;23;;;; |
535331;402083;connect;ended;-108;;;; |
535399;362659;mobile;ended;-6;;;; |
535514;348178;mobile;ended;-150;;;; |
535601;376381;mobile;ended;9;;;; |
535611;397814;mobile;ended;68;535512;300;; |
535726;375944;connect;ended;38;;;; |
535738;398733;mobile;ended;-1;;;; |
535770;352436;mobile;ended;74;524703;60;; |
535821;381583;mobile;ended;-10;;;; |
536108;337311;mobile;ended;-843;;;; |
536190;394560;mobile;canceled;;;;; |
536343;369230;mobile;ended;780;;;; |
536444;389785;connect;ended;-130;;;; |
536914;363387;mobile;canceled;;;;; |
536978;378931;mobile;ended;271;;;; |
536990;193354;mobile;ended;-12;;;; |
537040;267735;mobile;ended;933;;;; |