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 1 new columns ({'ProdTaken'}) and 18 missing columns ({'NumberOfFollowups', 'MaritalStatus', 'PreferredPropertyStar', 'Age', 'NumberOfChildrenVisiting', 'NumberOfPersonVisiting', 'ProductPitched', 'Passport', 'CityTier', 'MonthlyIncome', 'PitchSatisfactionScore', 'NumberOfTrips', 'TypeofContact', 'DurationOfPitch', 'Gender', 'OwnCar', 'Occupation', 'Designation'}).
This happened while the csv dataset builder was generating data using
hf://datasets/mainak555/mlops-tourism/y_train.csv (at revision 72007a895035ec0c15a2eaf020903633634743a1)
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
ProdTaken: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 377
to
{'Age': Value('float64'), 'TypeofContact': Value('string'), 'CityTier': Value('int64'), 'DurationOfPitch': Value('float64'), 'Occupation': Value('string'), 'Gender': Value('string'), 'NumberOfPersonVisiting': Value('int64'), 'NumberOfFollowups': Value('float64'), 'ProductPitched': Value('string'), 'PreferredPropertyStar': Value('float64'), 'MaritalStatus': Value('string'), 'NumberOfTrips': Value('float64'), 'Passport': Value('int64'), 'PitchSatisfactionScore': Value('int64'), 'OwnCar': Value('int64'), 'NumberOfChildrenVisiting': Value('float64'), 'Designation': Value('string'), 'MonthlyIncome': Value('float64')}
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 1339, 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 972, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
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 1 new columns ({'ProdTaken'}) and 18 missing columns ({'NumberOfFollowups', 'MaritalStatus', 'PreferredPropertyStar', 'Age', 'NumberOfChildrenVisiting', 'NumberOfPersonVisiting', 'ProductPitched', 'Passport', 'CityTier', 'MonthlyIncome', 'PitchSatisfactionScore', 'NumberOfTrips', 'TypeofContact', 'DurationOfPitch', 'Gender', 'OwnCar', 'Occupation', 'Designation'}).
This happened while the csv dataset builder was generating data using
hf://datasets/mainak555/mlops-tourism/y_train.csv (at revision 72007a895035ec0c15a2eaf020903633634743a1)
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.
Age float64 | TypeofContact string | CityTier int64 | DurationOfPitch float64 | Occupation string | Gender string | NumberOfPersonVisiting int64 | NumberOfFollowups float64 | ProductPitched string | PreferredPropertyStar float64 | MaritalStatus string | NumberOfTrips float64 | Passport int64 | PitchSatisfactionScore int64 | OwnCar int64 | NumberOfChildrenVisiting float64 | Designation string | MonthlyIncome float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
39 | Self Enquiry | 1 | 36 | Small Business | Male | 4 | 4 | Deluxe | 5 | Divorced | 2 | 1 | 3 | 0 | 2 | Manager | 25,351 |
30 | Company Invited | 1 | 29 | Salaried | Male | 3 | 5 | Basic | 3 | Married | 2 | 0 | 3 | 0 | 0 | Executive | 17,613 |
35 | Company Invited | 3 | 13 | Small Business | Female | 3 | 6 | Basic | 3 | Married | 2 | 0 | 4 | 0 | 2 | Executive | 21,029 |
32 | Self Enquiry | 3 | 14 | Large Business | Male | 4 | 2 | Deluxe | 3 | Married | 6 | 0 | 1 | 1 | 2 | Manager | 25,607 |
50 | Company Invited | 1 | 28 | Small Business | Male | 2 | 5 | Super Deluxe | 3 | Single | 2 | 1 | 1 | 1 | 1 | AVP | 29,411 |
25 | Company Invited | 3 | 30 | Salaried | Male | 3 | 5 | Basic | 3 | Single | 2 | 1 | 1 | 1 | 1 | Executive | 16,118 |
39 | Company Invited | 1 | 10 | Salaried | Male | 3 | 4 | Basic | 3 | Divorced | 5 | 0 | 3 | 1 | 2 | Executive | 21,499 |
26 | Self Enquiry | 3 | 6 | Salaried | Male | 2 | 3 | Deluxe | 3 | Divorced | 2 | 0 | 5 | 1 | 0 | Manager | 20,296 |
39 | Self Enquiry | 1 | 32 | Salaried | Female | 3 | 5 | Standard | 4 | Divorced | 5 | 0 | 3 | 1 | 1 | Senior Manager | 30,739 |
52 | Self Enquiry | 1 | 9 | Small Business | Male | 2 | 4 | Standard | 3 | Divorced | 3 | 1 | 2 | 0 | 0 | Senior Manager | 22,969 |
40 | Self Enquiry | 1 | 13 | Small Business | Male | 3 | 5 | Standard | 5 | Married | 6 | 0 | 4 | 1 | 1 | Senior Manager | 28,669 |
36 | Company Invited | 1 | 24 | Salaried | Male | 3 | 3 | Deluxe | 3 | Unmarried | 3 | 0 | 3 | 0 | 1 | Manager | 22,779 |
34 | Company Invited | 1 | 9 | Salaried | Male | 2 | 4 | Basic | 3 | Married | 4 | 0 | 1 | 0 | 0 | Executive | 17,979 |
31 | Self Enquiry | 3 | 22 | Small Business | Male | 3 | 3 | Standard | 3 | Married | 3 | 0 | 5 | 1 | 0 | Senior Manager | 23,161 |
28 | Self Enquiry | 1 | 16 | Small Business | Female | 3 | 4 | Basic | 4 | Single | 3 | 0 | 3 | 1 | 1 | Executive | 20,957 |
46 | Self Enquiry | 1 | 21 | Salaried | Male | 2 | 3 | King | 4 | Married | 6 | 0 | 3 | 1 | 1 | VP | 34,081 |
41 | Self Enquiry | 1 | 22 | Salaried | Female | 4 | 5 | Standard | 3 | Married | 3 | 0 | 1 | 1 | 2 | Senior Manager | 29,113 |
41 | Company Invited | 2 | 10 | Salaried | Male | 2 | 5 | Deluxe | 4 | Married | 7 | 0 | 5 | 0 | 1 | Manager | 21,430 |
33 | Self Enquiry | 1 | 11 | Salaried | Female | 3 | 4 | Basic | 3 | Divorced | 2 | 0 | 2 | 0 | 2 | Executive | 17,911 |
50 | Company Invited | 1 | 35 | Salaried | Male | 4 | 5 | Deluxe | 5 | Unmarried | 5 | 0 | 3 | 0 | 2 | Manager | 22,962 |
34 | Self Enquiry | 1 | 12 | Salaried | Male | 3 | 5 | Standard | 3 | Married | 6 | 0 | 3 | 0 | 1 | Senior Manager | 25,797 |
35 | Self Enquiry | 3 | 31 | Small Business | Female | 3 | 5 | Deluxe | 4 | Unmarried | 2 | 1 | 5 | 1 | 1 | Manager | 23,277 |
42 | Self Enquiry | 1 | 10 | Large Business | Male | 2 | 3 | King | 3 | Divorced | 2 | 0 | 2 | 0 | 1 | VP | 34,232 |
53 | Self Enquiry | 3 | 12 | Small Business | Male | 2 | 3 | Deluxe | 3 | Divorced | 3 | 1 | 5 | 0 | 0 | Manager | 17,306 |
29 | Self Enquiry | 3 | 9 | Small Business | Female | 3 | 3 | Deluxe | 3 | Divorced | 2 | 0 | 2 | 0 | 0 | Manager | 20,561 |
35 | Self Enquiry | 1 | 34 | Small Business | Female | 4 | 4 | Basic | 4 | Single | 4 | 0 | 3 | 1 | 1 | Executive | 20,989 |
41 | Company Invited | 1 | 16 | Salaried | Male | 3 | 4 | Deluxe | 3 | Married | 5 | 0 | 3 | 1 | 1 | Manager | 22,653 |
26 | Self Enquiry | 1 | 14 | Small Business | Male | 4 | 5 | Basic | 3 | Married | 3 | 0 | 1 | 0 | 3 | Executive | 21,567 |
41 | Self Enquiry | 3 | 6 | Salaried | Female | 3 | 3 | Deluxe | 3 | Single | 1 | 1 | 2 | 1 | 0 | Manager | 20,993 |
27 | Self Enquiry | 1 | 6 | Salaried | Female | 3 | 3 | Standard | 5 | Divorced | 2 | 0 | 4 | 1 | 2 | Senior Manager | 22,412 |
34 | Company Invited | 1 | 9 | Salaried | Male | 2 | 3 | Deluxe | 3 | Unmarried | 1 | 0 | 2 | 1 | 0 | Manager | 22,756 |
32 | Self Enquiry | 1 | 14 | Small Business | Fe Male | 3 | 4 | Standard | 3 | Unmarried | 3 | 1 | 4 | 1 | 2 | Senior Manager | 25,821 |
29 | Company Invited | 3 | 11 | Small Business | Male | 3 | 4 | Deluxe | 3 | Married | 3 | 0 | 1 | 0 | 1 | Manager | 22,899 |
32 | Self Enquiry | 1 | 12 | Large Business | Male | 3 | 4 | Basic | 3 | Divorced | 2 | 1 | 4 | 0 | 2 | Executive | 23,499 |
31 | Self Enquiry | 1 | 32 | Salaried | Male | 2 | 3 | Basic | 3 | Married | 2 | 0 | 3 | 1 | 1 | Executive | 17,911 |
44 | Self Enquiry | 1 | 10 | Small Business | Male | 2 | 3 | Deluxe | 4 | Single | 1 | 0 | 1 | 1 | 1 | Manager | 20,933 |
22 | Self Enquiry | 3 | 29 | Large Business | Male | 3 | 4 | Basic | 3 | Unmarried | 3 | 0 | 2 | 1 | 2 | Executive | 22,125 |
50 | Company Invited | 1 | 25 | Salaried | Male | 4 | 4 | Deluxe | 3 | Married | 3 | 1 | 1 | 0 | 1 | Manager | 25,482 |
35 | Self Enquiry | 1 | 31 | Small Business | Female | 2 | 3 | Standard | 3 | Married | 2 | 1 | 3 | 1 | 1 | Senior Manager | 25,388 |
55 | Self Enquiry | 3 | 24 | Salaried | Female | 2 | 3 | Super Deluxe | 4 | Single | 4 | 0 | 2 | 0 | 1 | AVP | 31,835 |
32 | Self Enquiry | 3 | 6 | Small Business | Female | 2 | 3 | Standard | 3 | Married | 2 | 0 | 5 | 1 | 0 | Senior Manager | 25,422 |
33 | Company Invited | 1 | 12 | Salaried | Female | 3 | 2 | Basic | 3 | Single | 5 | 1 | 1 | 0 | 2 | Executive | 21,110 |
37 | Company Invited | 3 | 25 | Small Business | Male | 2 | 3 | Standard | 4 | Unmarried | 2 | 1 | 5 | 0 | 0 | Senior Manager | 22,642 |
34 | Self Enquiry | 1 | 21 | Small Business | Male | 3 | 4 | Basic | 3 | Divorced | 7 | 1 | 2 | 0 | 2 | Executive | 21,114 |
58 | Self Enquiry | 1 | 29 | Small Business | Female | 3 | 3 | Standard | 3 | Married | 2 | 0 | 3 | 1 | 0 | Senior Manager | 25,312 |
42 | Self Enquiry | 1 | 26 | Salaried | Male | 3 | 4 | Deluxe | 5 | Married | 4 | 0 | 2 | 1 | 1 | Manager | 21,750 |
30 | Company Invited | 3 | 9 | Salaried | Male | 3 | 4 | Deluxe | 3 | Unmarried | 3 | 0 | 1 | 0 | 2 | Manager | 23,232 |
53 | Self Enquiry | 3 | 8 | Small Business | Male | 2 | 3 | Super Deluxe | 3 | Married | 7 | 0 | 3 | 1 | 0 | AVP | 29,852 |
43 | Self Enquiry | 1 | 20 | Small Business | Male | 4 | 2 | Deluxe | 5 | Married | 7 | 0 | 4 | 1 | 1 | Manager | 24,216 |
33 | Self Enquiry | 1 | 10 | Small Business | Female | 2 | 4 | Basic | 4 | Married | 7 | 0 | 4 | 0 | 1 | Executive | 17,622 |
41 | Self Enquiry | 2 | 6 | Salaried | Male | 2 | 4 | King | 3 | Divorced | 2 | 0 | 2 | 1 | 1 | VP | 34,189 |
29 | Self Enquiry | 1 | 8 | Salaried | Male | 3 | 3 | Basic | 4 | Divorced | 1 | 0 | 4 | 0 | 0 | Executive | 17,703 |
27 | Company Invited | 3 | 26 | Salaried | Fe Male | 2 | 3 | Deluxe | 3 | Unmarried | 2 | 0 | 1 | 1 | 1 | Manager | 24,981 |
60 | Self Enquiry | 3 | 13 | Small Business | Male | 2 | 1 | Deluxe | 3 | Married | 1 | 1 | 5 | 0 | 0 | Manager | 20,220 |
28 | Company Invited | 1 | 6 | Small Business | Male | 2 | 4 | Basic | 4 | Married | 2 | 0 | 4 | 0 | 0 | Executive | 17,596 |
36 | Self Enquiry | 1 | 18 | Small Business | Fe Male | 2 | 4 | Standard | 3 | Unmarried | 1 | 0 | 1 | 1 | 0 | Senior Manager | 23,858 |
31 | Self Enquiry | 1 | 35 | Small Business | Female | 4 | 4 | Deluxe | 3 | Divorced | 3 | 0 | 3 | 0 | 3 | Manager | 24,453 |
34 | Company Invited | 1 | 36 | Small Business | Female | 3 | 5 | Deluxe | 3 | Unmarried | 3 | 0 | 5 | 1 | 1 | Manager | 23,186 |
37 | Self Enquiry | 1 | 9 | Small Business | Male | 4 | 4 | Basic | 3 | Single | 6 | 0 | 5 | 1 | 2 | Executive | 21,197 |
28 | Self Enquiry | 3 | 15 | Small Business | Female | 3 | 4 | Deluxe | 4 | Divorced | 3 | 0 | 2 | 0 | 1 | Manager | 24,892 |
31 | Company Invited | 1 | 7 | Small Business | Female | 3 | 4 | Deluxe | 3 | Unmarried | 3 | 0 | 3 | 1 | 1 | Manager | 22,689 |
39 | Self Enquiry | 1 | 12 | Small Business | Male | 3 | 3 | Basic | 5 | Divorced | 1 | 1 | 2 | 1 | 1 | Executive | 17,404 |
36 | Self Enquiry | 3 | 7 | Small Business | Male | 3 | 4 | Deluxe | 3 | Divorced | 2 | 0 | 3 | 1 | 1 | Manager | 23,395 |
28 | Self Enquiry | 1 | 12 | Large Business | Male | 3 | 5 | Standard | 3 | Married | 3 | 1 | 3 | 1 | 2 | Senior Manager | 31,486 |
28 | Company Invited | 3 | 6 | Large Business | Male | 3 | 3 | Basic | 3 | Divorced | 4 | 0 | 3 | 1 | 0 | Executive | 17,909 |
43 | Self Enquiry | 1 | 12 | Salaried | Male | 2 | 4 | Super Deluxe | 3 | Married | 5 | 1 | 3 | 1 | 0 | AVP | 31,627 |
38 | Company Invited | 1 | 8 | Salaried | Male | 2 | 3 | Basic | 3 | Married | 2 | 1 | 5 | 1 | 0 | Executive | 16,702 |
31 | Company Invited | 1 | 26 | Salaried | Male | 3 | 3 | Standard | 3 | Divorced | 4 | 0 | 3 | 1 | 0 | Senior Manager | 24,824 |
32 | Self Enquiry | 3 | 20 | Small Business | Male | 3 | 4 | Deluxe | 5 | Married | 4 | 0 | 1 | 0 | 2 | Manager | 22,911 |
39 | Self Enquiry | 1 | 12 | Small Business | Male | 2 | 4 | Standard | 5 | Married | 5 | 0 | 4 | 1 | 0 | Senior Manager | 24,991 |
28 | Company Invited | 3 | 15 | Salaried | Male | 3 | 4 | Standard | 3 | Unmarried | 3 | 0 | 2 | 1 | 1 | Senior Manager | 27,404 |
53 | Self Enquiry | 3 | 14 | Small Business | Male | 3 | 3 | Super Deluxe | 3 | Divorced | 6 | 0 | 3 | 0 | 2 | AVP | 26,836 |
23 | Self Enquiry | 1 | 32 | Salaried | Male | 2 | 3 | Basic | 3 | Married | 2 | 0 | 1 | 0 | 1 | Executive | 17,904 |
45 | Self Enquiry | 1 | 34 | Large Business | Female | 2 | 4 | Super Deluxe | 4 | Single | 2 | 0 | 3 | 1 | 0 | AVP | 31,704 |
35 | Self Enquiry | 3 | 11 | Salaried | Male | 4 | 4 | Standard | 3 | Married | 4 | 1 | 4 | 0 | 3 | Senior Manager | 28,391 |
28 | Company Invited | 1 | 12 | Salaried | Male | 2 | 4 | Basic | 3 | Married | 2 | 1 | 4 | 1 | 1 | Executive | 17,703 |
31 | Self Enquiry | 1 | 9 | Salaried | Male | 3 | 5 | Deluxe | 3 | Divorced | 3 | 0 | 4 | 1 | 1 | Manager | 22,830 |
27 | Self Enquiry | 1 | 14 | Small Business | Female | 3 | 5 | Standard | 5 | Married | 2 | 1 | 4 | 1 | 2 | Senior Manager | 21,553 |
47 | Self Enquiry | 1 | 25 | Small Business | Female | 3 | 4 | Deluxe | 3 | Married | 4 | 0 | 5 | 1 | 2 | Manager | 23,488 |
39 | Company Invited | 1 | 9 | Salaried | Fe Male | 4 | 2 | Deluxe | 5 | Unmarried | 8 | 1 | 2 | 1 | 3 | Manager | 24,658 |
39 | Self Enquiry | 1 | 7 | Salaried | Fe Male | 3 | 4 | Standard | 3 | Unmarried | 6 | 1 | 2 | 0 | 2 | Senior Manager | 26,539 |
40 | Self Enquiry | 1 | 8 | Small Business | Male | 2 | 3 | King | 3 | Married | 1 | 0 | 5 | 1 | 0 | VP | 34,436 |
31 | Self Enquiry | 3 | 7 | Salaried | Male | 4 | 5 | Deluxe | 5 | Married | 3 | 0 | 4 | 1 | 2 | Manager | 28,392 |
36 | Self Enquiry | 3 | 23 | Small Business | Male | 4 | 4 | Standard | 4 | Married | 2 | 0 | 1 | 1 | 2 | Senior Manager | 26,698 |
38 | Self Enquiry | 1 | 7 | Salaried | Female | 3 | 5 | Deluxe | 3 | Divorced | 3 | 0 | 2 | 1 | 2 | Manager | 25,152 |
44 | Self Enquiry | 1 | 15 | Salaried | Male | 3 | 3 | Basic | 5 | Married | 2 | 1 | 3 | 1 | 0 | Executive | 17,559 |
22 | Self Enquiry | 1 | 25 | Small Business | Male | 3 | 3 | Basic | 3 | Divorced | 2 | 0 | 2 | 0 | 1 | Executive | 17,323 |
23 | Self Enquiry | 1 | 13 | Small Business | Male | 4 | 4 | Basic | 3 | Divorced | 2 | 0 | 2 | 1 | 1 | Executive | 21,451 |
38 | Self Enquiry | 1 | 23 | Salaried | Female | 3 | 4 | Standard | 3 | Divorced | 1 | 0 | 2 | 0 | 2 | Senior Manager | 23,823 |
44 | Self Enquiry | 1 | 9 | Salaried | Male | 2 | 3 | King | 3 | Divorced | 5 | 1 | 2 | 1 | 0 | VP | 34,513 |
31 | Self Enquiry | 3 | 19 | Large Business | Fe Male | 3 | 4 | Deluxe | 3 | Unmarried | 2 | 0 | 2 | 1 | 1 | Manager | 25,255 |
38 | Self Enquiry | 1 | 9 | Free Lancer | Male | 4 | 5 | Basic | 3 | Single | 8 | 1 | 3 | 0 | 1 | Executive | 20,768 |
31 | Self Enquiry | 3 | 14 | Small Business | Male | 3 | 4 | Basic | 4 | Unmarried | 2 | 0 | 2 | 1 | 1 | Executive | 21,661 |
34 | Company Invited | 2 | 29 | Salaried | Female | 2 | 3 | Standard | 5 | Married | 1 | 1 | 3 | 1 | 0 | Senior Manager | 24,950 |
36 | Self Enquiry | 1 | 14 | Salaried | Male | 3 | 4 | Standard | 3 | Single | 5 | 0 | 3 | 0 | 1 | Senior Manager | 28,899 |
41 | Company Invited | 1 | 16 | Salaried | Male | 4 | 5 | Deluxe | 3 | Divorced | 2 | 0 | 5 | 1 | 1 | Manager | 23,554 |
44 | Self Enquiry | 3 | 32 | Small Business | Male | 4 | 5 | Standard | 3 | Married | 7 | 0 | 4 | 1 | 2 | Senior Manager | 29,476 |
46 | Self Enquiry | 1 | 17 | Salaried | Male | 4 | 4 | Basic | 3 | Married | 5 | 0 | 5 | 0 | 3 | Executive | 21,332 |
28 | Company Invited | 1 | 6 | Salaried | Female | 2 | 5 | Deluxe | 3 | Divorced | 1 | 0 | 3 | 1 | 0 | Manager | 21,674 |
35 | Self Enquiry | 1 | 7 | Salaried | Male | 3 | 4 | Basic | 3 | Divorced | 3 | 0 | 3 | 1 | 1 | Executive | 21,369 |
End of preview.
No dataset card yet
- Downloads last month
- 2