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 ({'ProdTaken', 'Unnamed: 0', 'CustomerID'}) This happened while the csv dataset builder was generating data using hf://datasets/sahilsingla/toursim-purchase-prediction/tourism.csv (at revision 75a79a1e2289c3bc63a652825e2ff0bb09befefa) 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 1831, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, 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 2272, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/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 {'Age': Value('float64'), 'TypeofContact': Value('int64'), 'CityTier': Value('int64'), 'DurationOfPitch': Value('float64'), 'Occupation': Value('int64'), 'Gender': Value('int64'), 'NumberOfPersonVisiting': Value('int64'), 'NumberOfFollowups': Value('float64'), 'ProductPitched': Value('int64'), 'PreferredPropertyStar': Value('float64'), 'MaritalStatus': Value('int64'), 'NumberOfTrips': Value('float64'), 'Passport': Value('int64'), 'PitchSatisfactionScore': Value('int64'), 'OwnCar': Value('int64'), 'NumberOfChildrenVisiting': Value('float64'), 'Designation': Value('int64'), '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 1456, 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 1055, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, 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 1702, 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 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 ({'ProdTaken', 'Unnamed: 0', 'CustomerID'}) This happened while the csv dataset builder was generating data using hf://datasets/sahilsingla/toursim-purchase-prediction/tourism.csv (at revision 75a79a1e2289c3bc63a652825e2ff0bb09befefa) 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
int64 | CityTier
int64 | DurationOfPitch
float64 | Occupation
int64 | Gender
int64 | NumberOfPersonVisiting
int64 | NumberOfFollowups
float64 | ProductPitched
int64 | PreferredPropertyStar
float64 | MaritalStatus
int64 | NumberOfTrips
float64 | Passport
int64 | PitchSatisfactionScore
int64 | OwnCar
int64 | NumberOfChildrenVisiting
float64 | Designation
int64 | MonthlyIncome
float64 |
---|---|---|---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