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 2 new columns ({'CustomerID', 'ProdTaken'})
This happened while the csv dataset builder was generating data using
hf://datasets/Yashwanthsairam/package-tourism-predict/tourism.csv (at revision dc4db1ee7217bda1da50c7cd142fc478c2b8ef40)
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
{'Unnamed: 0': Value('int64'), '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 2 new columns ({'CustomerID', 'ProdTaken'})
This happened while the csv dataset builder was generating data using
hf://datasets/Yashwanthsairam/package-tourism-predict/tourism.csv (at revision dc4db1ee7217bda1da50c7cd142fc478c2b8ef40)
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.
Unnamed: 0
int64 | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,273
| 34
| 0
| 1
| 9
| 2
| 2
| 2
| 4
| 0
| 3
| 1
| 4
| 0
| 1
| 0
| 0
| 1
| 17,979
|
73
| 32
| 1
| 1
| 6
| 2
| 2
| 3
| 3
| 1
| 4
| 0
| 2
| 0
| 3
| 0
| 0
| 2
| 21,220
|
167
| 30
| 1
| 3
| 11
| 2
| 1
| 2
| 3
| 3
| 3
| 0
| 3
| 0
| 4
| 1
| 1
| 3
| 24,419
|
4,725
| 39
| 1
| 3
| 9
| 3
| 2
| 3
| 4
| 3
| 4
| 3
| 2
| 0
| 4
| 1
| 2
| 3
| 26,029
|
4,219
| 37
| 0
| 1
| 31
| 2
| 1
| 3
| 4
| 1
| 4
| 1
| 2
| 0
| 3
| 1
| 2
| 2
| 24,352
|
2,620
| 34
| 1
| 1
| 9
| 2
| 2
| 3
| 4
| 0
| 3
| 2
| 2
| 0
| 3
| 0
| 2
| 1
| 21,178
|
3,015
| 27
| 0
| 1
| 7
| 2
| 1
| 4
| 6
| 0
| 3
| 1
| 5
| 0
| 4
| 1
| 3
| 1
| 23,042
|
1,106
| 30
| 1
| 3
| 6
| 2
| 2
| 3
| 4
| 1
| 5
| 1
| 2
| 0
| 4
| 1
| 1
| 2
| 24,714
|
4,541
| 53
| 0
| 1
| 32
| 3
| 1
| 3
| 5
| 4
| 3
| 1
| 5
| 0
| 5
| 0
| 2
| 0
| 32,504
|
3,334
| 55
| 0
| 1
| 7
| 2
| 1
| 3
| 4
| 3
| 3
| 1
| 2
| 0
| 5
| 1
| 2
| 3
| 29,180
|
93
| 46
| 0
| 1
| 6
| 3
| 2
| 2
| 4
| 3
| 5
| 0
| 3
| 1
| 2
| 1
| 1
| 3
| 25,673
|
4,519
| 39
| 0
| 1
| 19
| 2
| 2
| 2
| 5
| 1
| 5
| 1
| 4
| 0
| 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0
| 1
| 17,552
|
4,598
| 41
| 1
| 3
| 17
| 3
| 2
| 4
| 5
| 3
| 4
| 1
| 4
| 0
| 4
| 0
| 1
| 3
| 28,383
|
2,909
| 47
| 0
| 1
| 25
| 3
| 1
| 3
| 4
| 3
| 3
| 0
| 7
| 0
| 3
| 1
| 1
| 3
| 29,205
|
3,123
| 32
| 0
| 3
| 27
| 3
| 1
| 3
| 4
| 1
| 3
| 0
| 3
| 0
| 2
| 1
| 1
| 2
| 25,610
|
750
| 44
| 1
| 3
| 34
| 3
| 1
| 2
| 1
| 4
| 3
| 0
| 4
| 1
| 2
| 1
| 1
| 0
| 28,320
|
2,983
| 51
| 1
| 3
| 15
| 3
| 2
| 3
| 4
| 0
| 4
| 0
| 2
| 0
| 2
| 1
| 1
| 1
| 22,553
|
2,325
| 37
| 1
| 1
| 7
| 2
| 1
| 2
| 4
| 1
| 3
| 1
| 2
| 0
| 1
| 0
| 0
| 2
| 21,474
|
3,552
| 36
| 1
| 1
| 7
| 3
| 2
| 4
| 5
| 0
| 5
| 2
| 3
| 0
| 1
| 0
| 3
| 1
| 21,128
|
2,780
| 30
| 1
| 1
| 15
| 2
| 2
| 4
| 6
| 0
| 5
| 0
| 3
| 1
| 3
| 1
| 2
| 1
| 20,797
|
4,586
| 43
| 1
| 3
| 21
| 3
| 0
| 4
| 5
| 1
| 3
| 3
| 2
| 0
| 3
| 1
| 1
| 2
| 24,922
|
4,234
| 28
| 1
| 3
| 9
| 2
| 2
| 4
| 4
| 1
| 3
| 3
| 3
| 1
| 4
| 0
| 2
| 2
| 23,156
|
4,176
| 33
| 1
| 1
| 9
| 1
| 2
| 3
| 5
| 1
| 5
| 2
| 6
| 0
| 4
| 0
| 2
| 2
| 20,854
|
End of preview.
No dataset card yet
- Downloads last month
- 4