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 ({'CustomerID', 'Unnamed: 0', 'ProdTaken'})
This happened while the csv dataset builder was generating data using
hf://datasets/yuRIrocks/Tourism-Package-Prediction/tourism.csv (at revision b4025b4744b9bd64fd8c6ace903d24880c35c440)
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
Unnamed: 0: int64
CustomerID: int64
ProdTaken: int64
Age: double
TypeofContact: string
CityTier: int64
DurationOfPitch: double
Occupation: string
Gender: string
NumberOfPersonVisiting: int64
NumberOfFollowups: double
ProductPitched: string
PreferredPropertyStar: double
MaritalStatus: string
NumberOfTrips: double
Passport: int64
PitchSatisfactionScore: int64
OwnCar: int64
NumberOfChildrenVisiting: double
Designation: string
MonthlyIncome: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2881
to
{'CityTier': Value('int64'), 'Age': Value('float64'), 'NumberOfPersonVisiting': Value('int64'), 'PreferredPropertyStar': Value('float64'), 'NumberOfTrips': Value('float64'), 'Passport': Value('int64'), 'OwnCar': Value('int64'), 'NumberOfChildrenVisiting': Value('float64'), 'MonthlyIncome': Value('float64'), 'PitchSatisfactionScore': Value('int64'), 'NumberOfFollowups': Value('float64'), 'DurationOfPitch': Value('float64'), 'TypeofContact': Value('string'), 'Occupation': Value('string'), 'Gender': Value('string'), 'MaritalStatus': Value('string'), 'Designation': Value('string'), 'ProductPitched': 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 1455, 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 1054, 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 3 new columns ({'CustomerID', 'Unnamed: 0', 'ProdTaken'})
This happened while the csv dataset builder was generating data using
hf://datasets/yuRIrocks/Tourism-Package-Prediction/tourism.csv (at revision b4025b4744b9bd64fd8c6ace903d24880c35c440)
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.
CityTier int64 | Age float64 | NumberOfPersonVisiting int64 | PreferredPropertyStar float64 | NumberOfTrips float64 | Passport int64 | OwnCar int64 | NumberOfChildrenVisiting float64 | MonthlyIncome float64 | PitchSatisfactionScore int64 | NumberOfFollowups float64 | DurationOfPitch float64 | TypeofContact string | Occupation string | Gender string | MaritalStatus string | Designation string | ProductPitched string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 44 | 3 | 3 | 2 | 1 | 1 | 0 | 22,879 | 4 | 1 | 8 | Self Enquiry | Salaried | Female | Married | Senior Manager | Standard |
3 | 35 | 3 | 3 | 3 | 0 | 1 | 2 | 27,306 | 1 | 4 | 20 | Self Enquiry | Small Business | Male | Married | Senior Manager | Standard |
3 | 47 | 4 | 5 | 3 | 0 | 1 | 2 | 29,131 | 2 | 4 | 7 | Self Enquiry | Small Business | Female | Married | Senior Manager | Standard |
1 | 32 | 3 | 4 | 2 | 0 | 1 | 0 | 21,220 | 3 | 3 | 6 | Self Enquiry | Salaried | Male | Married | Manager | Deluxe |
1 | 59 | 3 | 3 | 6 | 0 | 1 | 2 | 21,157 | 2 | 4 | 9 | Self Enquiry | Large Business | Male | Single | Executive | Basic |
3 | 44 | 2 | 4 | 1 | 0 | 1 | 1 | 33,213 | 5 | 3 | 11 | Self Enquiry | Small Business | Male | Divorced | VP | King |
1 | 32 | 2 | 4 | 2 | 0 | 1 | 0 | 17,837 | 3 | 4 | 35 | Self Enquiry | Salaried | Female | Single | Executive | Basic |
3 | 27 | 3 | 3 | 3 | 0 | 0 | 2 | 23,974 | 5 | 4 | 7 | Self Enquiry | Salaried | Male | Married | Manager | Deluxe |
3 | 38 | 2 | 3 | 4 | 0 | 1 | 1 | 20,249 | 5 | 4 | 8 | Company Invited | Salaried | Male | Divorced | Manager | Deluxe |
1 | 32 | 3 | 3 | 2 | 1 | 1 | 1 | 23,499 | 4 | 4 | 12 | Self Enquiry | Large Business | Male | Married | Executive | Basic |
1 | 40 | 3 | 3 | 2 | 0 | 1 | 1 | 18,319 | 3 | 3 | 30 | Self Enquiry | Large Business | Male | Married | Manager | Deluxe |
1 | 38 | 3 | 3 | 3 | 0 | 0 | 1 | 22,963 | 1 | 4 | 20 | Self Enquiry | Small Business | Male | Married | Manager | Deluxe |
3 | 35 | 3 | 3 | 2 | 0 | 1 | 0 | 23,789 | 5 | 3 | 6 | Company Invited | Small Business | Fe Male | Unmarried | Senior Manager | Standard |
1 | 35 | 3 | 5 | 2 | 1 | 1 | 1 | 17,074 | 1 | 3 | 8 | Self Enquiry | Salaried | Female | Married | Executive | Basic |
1 | 34 | 3 | 3 | 2 | 0 | 0 | 1 | 22,086 | 5 | 6 | 17 | Self Enquiry | Small Business | Male | Married | Executive | Basic |
1 | 33 | 3 | 4 | 3 | 0 | 1 | 1 | 21,515 | 3 | 5 | 36 | Self Enquiry | Salaried | Female | Unmarried | Executive | Basic |
1 | 51 | 3 | 3 | 4 | 0 | 1 | 0 | 17,075 | 3 | 3 | 15 | Self Enquiry | Salaried | Male | Divorced | Executive | Basic |
3 | 29 | 2 | 5 | 2 | 0 | 1 | 1 | 16,091 | 3 | 1 | 30 | Company Invited | Large Business | Male | Single | Executive | Basic |
3 | 34 | 3 | 3 | 1 | 1 | 1 | 2 | 20,304 | 2 | 2 | 25 | Company Invited | Small Business | Male | Single | Manager | Deluxe |
1 | 38 | 2 | 3 | 6 | 0 | 0 | 1 | 32,342 | 2 | 4 | 14 | Self Enquiry | Small Business | Male | Single | Senior Manager | Standard |
1 | 46 | 3 | 5 | 1 | 0 | 0 | 0 | 24,396 | 2 | 3 | 6 | Self Enquiry | Small Business | Male | Married | Senior Manager | Standard |
2 | 54 | 2 | 4 | 3 | 0 | 1 | 0 | 25,725 | 3 | 3 | 25 | Self Enquiry | Small Business | Male | Divorced | Senior Manager | Standard |
1 | 56 | 2 | 3 | 1 | 0 | 0 | 0 | 26,103 | 4 | 3 | 15 | Self Enquiry | Small Business | Male | Married | AVP | Super Deluxe |
1 | 30 | 2 | 3 | 19 | 1 | 1 | 1 | 17,285 | 4 | 3 | 10 | Company Invited | Large Business | Male | Single | Executive | Basic |
1 | 26 | 3 | 5 | 1 | 0 | 1 | 2 | 17,867 | 5 | 3 | 6 | Self Enquiry | Small Business | Male | Single | Executive | Basic |
1 | 33 | 2 | 3 | 1 | 0 | 1 | 0 | 26,691 | 4 | 3 | 13 | Self Enquiry | Small Business | Male | Married | Senior Manager | Standard |
1 | 24 | 3 | 4 | 2 | 0 | 1 | 1 | 17,127 | 3 | 4 | 23 | Self Enquiry | Salaried | Male | Married | Executive | Basic |
1 | 30 | 4 | 3 | 2 | 0 | 1 | 3 | 25,062 | 5 | 6 | 36 | Self Enquiry | Salaried | Male | Married | Manager | Deluxe |
3 | 33 | 3 | 4 | 1 | 0 | 0 | 0 | 20,147 | 1 | 3 | 8 | Company Invited | Small Business | Female | Single | Manager | Deluxe |
3 | 53 | 2 | 4 | 3 | 0 | 1 | 0 | 22,525 | 1 | 4 | 8 | Company Invited | Small Business | Female | Married | Senior Manager | Standard |
3 | 29 | 3 | 5 | 2 | 0 | 1 | 2 | 23,576 | 3 | 4 | 14 | Company Invited | Salaried | Male | Unmarried | Manager | Deluxe |
1 | 39 | 2 | 5 | 2 | 0 | 1 | 0 | 20,151 | 4 | 3 | 15 | Self Enquiry | Small Business | Male | Married | Manager | Deluxe |
3 | 46 | 4 | 4 | 2 | 0 | 1 | 3 | 23,483 | 5 | 4 | 9 | Self Enquiry | Salaried | Male | Married | Manager | Deluxe |
1 | 35 | 3 | 4 | 2 | 0 | 1 | 1 | 30,672 | 3 | 4 | 14 | Self Enquiry | Salaried | Female | Single | Senior Manager | Standard |
3 | 35 | 4 | 3 | 8 | 0 | 0 | 1 | 20,909 | 5 | 4 | 9 | Company Invited | Small Business | Female | Married | Executive | Basic |
1 | 33 | 4 | 4 | 8 | 0 | 0 | 3 | 21,010 | 3 | 5 | 7 | Company Invited | Salaried | Female | Married | Executive | Basic |
1 | 29 | 2 | 3 | 2 | 0 | 1 | 0 | 21,623 | 4 | 4 | 16 | Company Invited | Salaried | Female | Unmarried | Executive | Basic |
3 | 41 | 2 | 3 | 1 | 0 | 0 | 1 | 21,230 | 1 | 3 | 16 | Company Invited | Salaried | Male | Single | Manager | Deluxe |
1 | 43 | 3 | 3 | 6 | 0 | 1 | 1 | 22,950 | 3 | 6 | 36 | Self Enquiry | Small Business | Male | Unmarried | Manager | Deluxe |
3 | 35 | 3 | 3 | 2 | 0 | 0 | 2 | 21,029 | 4 | 6 | 13 | Company Invited | Small Business | Female | Married | Executive | Basic |
3 | 41 | 3 | 3 | 4 | 1 | 0 | 0 | 28,591 | 1 | 3 | 12 | Self Enquiry | Salaried | Female | Single | Senior Manager | Standard |
1 | 33 | 2 | 3 | 1 | 0 | 0 | 0 | 21,949 | 4 | 4 | 6 | Self Enquiry | Salaried | Female | Unmarried | Manager | Deluxe |
1 | 40 | 2 | 3 | 1 | 0 | 0 | 0 | 28,499 | 4 | 3 | 15 | Company Invited | Small Business | Fe Male | Unmarried | Senior Manager | Standard |
1 | 26 | 3 | 5 | 1 | 0 | 0 | 1 | 18,102 | 3 | 3 | 9 | Company Invited | Large Business | Male | Single | Executive | Basic |
1 | 41 | 2 | 5 | 3 | 0 | 0 | 0 | 18,072 | 1 | 3 | 25 | Self Enquiry | Salaried | Male | Married | Manager | Deluxe |
1 | 37 | 2 | 3 | 2 | 1 | 0 | 1 | 27,185 | 3 | 3 | 17 | Company Invited | Salaried | Male | Married | Senior Manager | Standard |
3 | 31 | 2 | 3 | 4 | 0 | 1 | 1 | 17,329 | 4 | 4 | 13 | Self Enquiry | Salaried | Male | Married | Executive | Basic |
3 | 45 | 3 | 4 | 8 | 0 | 0 | 2 | 21,040 | 3 | 6 | 8 | Self Enquiry | Salaried | Male | Single | Manager | Deluxe |
1 | 33 | 3 | 5 | 2 | 1 | 1 | 2 | 18,348 | 5 | 3 | 9 | Company Invited | Salaried | Male | Single | Executive | Basic |
1 | 33 | 4 | 4 | 3 | 0 | 0 | 1 | 21,048 | 4 | 4 | 9 | Self Enquiry | Small Business | Female | Divorced | Executive | Basic |
1 | 33 | 3 | 3 | 3 | 1 | 0 | 2 | 21,388 | 3 | 3 | 14 | Self Enquiry | Salaried | Male | Unmarried | Manager | Deluxe |
3 | 30 | 2 | 3 | 1 | 0 | 1 | 0 | 21,577 | 2 | 3 | 18 | Self Enquiry | Large Business | Female | Unmarried | Manager | Deluxe |
1 | 42 | 2 | 3 | 7 | 1 | 1 | 1 | 17,759 | 3 | 2 | 25 | Company Invited | Small Business | Male | Married | Executive | Basic |
1 | 46 | 2 | 3 | 7 | 0 | 1 | 0 | 32,861 | 5 | 3 | 8 | Self Enquiry | Salaried | Male | Married | AVP | Super Deluxe |
1 | 51 | 4 | 3 | 6 | 0 | 1 | 3 | 21,058 | 5 | 4 | 16 | Self Enquiry | Salaried | Male | Married | Executive | Basic |
1 | 30 | 2 | 3 | 3 | 0 | 1 | 0 | 21,091 | 1 | 5 | 8 | Self Enquiry | Salaried | Female | Single | Manager | Deluxe |
1 | 37 | 3 | 3 | 6 | 0 | 0 | 1 | 22,366 | 5 | 3 | 25 | Company Invited | Salaried | Male | Divorced | Executive | Basic |
2 | 28 | 2 | 3 | 2 | 0 | 0 | 1 | 17,706 | 4 | 3 | 6 | Company Invited | Salaried | Male | Married | Executive | Basic |
1 | 42 | 2 | 5 | 1 | 0 | 1 | 0 | 28,348 | 3 | 3 | 12 | Self Enquiry | Small Business | Male | Married | Senior Manager | Standard |
1 | 44 | 2 | 4 | 1 | 0 | 1 | 0 | 20,933 | 2 | 3 | 10 | Self Enquiry | Small Business | Male | Single | Manager | Deluxe |
1 | 39 | 3 | 4 | 3 | 0 | 1 | 1 | 21,118 | 1 | 5 | 9 | Company Invited | Small Business | Female | Single | Executive | Basic |
1 | 42 | 2 | 5 | 4 | 1 | 0 | 0 | 21,545 | 2 | 2 | 23 | Self Enquiry | Salaried | Female | Unmarried | Manager | Deluxe |
1 | 39 | 2 | 5 | 2 | 1 | 1 | 1 | 25,880 | 5 | 3 | 28 | Company Invited | Small Business | Fe Male | Unmarried | Senior Manager | Standard |
1 | 28 | 2 | 3 | 1 | 0 | 1 | 0 | 21,674 | 3 | 5 | 6 | Company Invited | Salaried | Female | Divorced | Manager | Deluxe |
1 | 43 | 3 | 5 | 7 | 0 | 1 | 1 | 32,159 | 5 | 3 | 20 | Self Enquiry | Salaried | Male | Married | AVP | Super Deluxe |
1 | 45 | 4 | 3 | 3 | 0 | 0 | 2 | 26,656 | 3 | 4 | 22 | Self Enquiry | Small Business | Female | Divorced | Senior Manager | Standard |
1 | 53 | 4 | 5 | 5 | 1 | 1 | 2 | 24,255 | 4 | 4 | 13 | Self Enquiry | Large Business | Male | Married | Manager | Deluxe |
1 | 42 | 4 | 5 | 4 | 0 | 0 | 1 | 20,916 | 1 | 4 | 16 | Self Enquiry | Salaried | Male | Married | Executive | Basic |
1 | 36 | 3 | 3 | 7 | 0 | 1 | 0 | 20,237 | 3 | 3 | 33 | Self Enquiry | Small Business | Male | Divorced | Manager | Deluxe |
1 | 22 | 4 | 4 | 3 | 1 | 0 | 3 | 20,748 | 5 | 5 | 7 | Self Enquiry | Large Business | Female | Single | Executive | Basic |
1 | 37 | 4 | 4 | 2 | 0 | 0 | 3 | 24,592 | 2 | 4 | 12 | Self Enquiry | Salaried | Male | Unmarried | Manager | Deluxe |
3 | 30 | 3 | 4 | 7 | 0 | 0 | 2 | 24,443 | 3 | 4 | 20 | Company Invited | Large Business | Fe Male | Unmarried | Manager | Deluxe |
1 | 36 | 4 | 5 | 4 | 1 | 1 | 3 | 28,562 | 5 | 5 | 18 | Company Invited | Small Business | Male | Married | Senior Manager | Standard |
1 | 40 | 2 | 3 | 2 | 0 | 0 | 1 | 34,033 | 5 | 3 | 10 | Self Enquiry | Small Business | Female | Divorced | VP | King |
1 | 51 | 2 | 3 | 3 | 0 | 0 | 1 | 25,650 | 2 | 5 | 14 | Company Invited | Salaried | Male | Unmarried | Senior Manager | Standard |
3 | 39 | 3 | 5 | 6 | 0 | 0 | 2 | 21,536 | 3 | 5 | 7 | Self Enquiry | Salaried | Male | Unmarried | Executive | Basic |
1 | 43 | 2 | 4 | 2 | 0 | 0 | 1 | 29,336 | 3 | 4 | 18 | Self Enquiry | Salaried | Male | Married | AVP | Super Deluxe |
1 | 35 | 3 | 3 | 2 | 0 | 0 | 0 | 16,951 | 4 | 3 | 10 | Self Enquiry | Salaried | Male | Married | Executive | Basic |
1 | 40 | 4 | 3 | 2 | 0 | 1 | 2 | 29,616 | 2 | 4 | 9 | Company Invited | Large Business | Female | Single | Senior Manager | Standard |
3 | 27 | 3 | 3 | 3 | 0 | 0 | 1 | 23,362 | 1 | 4 | 17 | Self Enquiry | Small Business | Male | Unmarried | Manager | Deluxe |
1 | 26 | 2 | 5 | 7 | 1 | 1 | 0 | 17,042 | 5 | 3 | 8 | Company Invited | Salaried | Male | Divorced | Executive | Basic |
3 | 43 | 3 | 3 | 2 | 1 | 0 | 0 | 31,959 | 2 | 3 | 32 | Company Invited | Salaried | Male | Divorced | AVP | Super Deluxe |
1 | 32 | 4 | 5 | 3 | 1 | 0 | 3 | 25,511 | 2 | 4 | 18 | Self Enquiry | Small Business | Male | Divorced | Manager | Deluxe |
1 | 35 | 3 | 5 | 4 | 0 | 0 | 1 | 30,309 | 2 | 5 | 12 | Self Enquiry | Small Business | Female | Single | Senior Manager | Standard |
1 | 34 | 3 | 4 | 8 | 0 | 0 | 2 | 21,300 | 4 | 5 | 11 | Self Enquiry | Small Business | Female | Married | Executive | Basic |
1 | 31 | 2 | 4 | 2 | 0 | 0 | 1 | 16,261 | 4 | 4 | 14 | Self Enquiry | Salaried | Female | Single | Executive | Basic |
3 | 35 | 4 | 3 | 3 | 0 | 0 | 1 | 24,392 | 1 | 4 | 16 | Self Enquiry | Salaried | Female | Married | Manager | Deluxe |
3 | 42 | 3 | 3 | 2 | 0 | 1 | 2 | 24,829 | 5 | 6 | 16 | Company Invited | Salaried | Male | Married | AVP | Super Deluxe |
1 | 34 | 2 | 5 | 4 | 0 | 1 | 1 | 20,121 | 5 | 3 | 14 | Self Enquiry | Salaried | Female | Married | Manager | Deluxe |
1 | 34 | 3 | 5 | 2 | 0 | 1 | 1 | 21,385 | 3 | 4 | 9 | Self Enquiry | Salaried | Female | Divorced | Executive | Basic |
1 | 34 | 2 | 4 | 1 | 0 | 1 | 0 | 26,994 | 3 | 3 | 13 | Self Enquiry | Salaried | Fe Male | Unmarried | Senior Manager | Standard |
1 | 39 | 3 | 3 | 5 | 0 | 0 | 2 | 24,939 | 2 | 4 | 36 | Self Enquiry | Large Business | Male | Divorced | Manager | Deluxe |
1 | 29 | 3 | 3 | 3 | 1 | 0 | 1 | 22,119 | 1 | 4 | 12 | Self Enquiry | Large Business | Male | Unmarried | Executive | Basic |
1 | 35 | 2 | 3 | 3 | 0 | 0 | 1 | 20,762 | 3 | 3 | 8 | Company Invited | Small Business | Male | Married | Manager | Deluxe |
3 | 26 | 2 | 3 | 2 | 1 | 1 | 1 | 20,828 | 2 | 4 | 10 | Self Enquiry | Small Business | Male | Single | Manager | Deluxe |
1 | 37 | 3 | 3 | 7 | 0 | 1 | 1 | 21,513 | 2 | 4 | 10 | Self Enquiry | Salaried | Female | Married | Executive | Basic |
1 | 35 | 4 | 5 | 6 | 0 | 0 | 2 | 24,024 | 3 | 4 | 16 | Company Invited | Salaried | Male | Married | Manager | Deluxe |
1 | 40 | 3 | 3 | 2 | 0 | 1 | 1 | 30,847 | 3 | 4 | 9 | Company Invited | Salaried | Male | Married | AVP | Super Deluxe |
3 | 33 | 2 | 3 | 2 | 1 | 1 | 0 | 17,851 | 2 | 3 | 11 | Self Enquiry | Small Business | Female | Single | Executive | Basic |
3 | 38 | 3 | 4 | 1 | 0 | 0 | 0 | 17,899 | 4 | 4 | 15 | Self Enquiry | Small Business | Male | Divorced | Executive | Basic |
End of preview.
No dataset card yet
- Downloads last month
- 8