Dataset Preview
Duplicate
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 ({'Unnamed: 0', 'ProdTaken', 'CustomerID'})

This happened while the csv dataset builder was generating data using

hf://datasets/Sandhya-2025/tourism-package-purchase/tourism.csv (at revision f0b9f85c4aee21539c8ab6691742d75f2ec9dc26), [/tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/Xtest.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/Xtrain.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/tourism.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/tourism.csv), /tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/ytest.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/ytrain.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/ytrain.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
              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'), 'MonthlyIncome': Value('float64'), 'DurationOfPitch': Value('float64'), 'NumberOfTrips': Value('float64'), 'NumberOfPersonVisiting': Value('int64'), 'NumberOfChildrenVisiting': Value('float64'), 'NumberOfFollowups': Value('float64'), 'TypeofContact': Value('string'), 'Occupation': Value('string'), 'Gender': Value('string'), 'MaritalStatus': Value('string'), 'Designation': Value('string'), 'ProductPitched': Value('string'), 'CityTier': Value('int64'), 'PreferredPropertyStar': Value('float64'), 'PitchSatisfactionScore': Value('int64'), 'Passport': Value('int64'), 'OwnCar': Value('int64')}
              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 3 new columns ({'Unnamed: 0', 'ProdTaken', 'CustomerID'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Sandhya-2025/tourism-package-purchase/tourism.csv (at revision f0b9f85c4aee21539c8ab6691742d75f2ec9dc26), [/tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/Xtest.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/Xtrain.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/tourism.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/tourism.csv), /tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/ytest.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/71290623098420-config-parquet-and-info-Sandhya-2025-tourism-pack-b3722ebc/hub/datasets--Sandhya-2025--tourism-package-purchase/snapshots/f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/ytrain.csv (origin=hf://datasets/Sandhya-2025/tourism-package-purchase@f0b9f85c4aee21539c8ab6691742d75f2ec9dc26/ytrain.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.

Age
float64
MonthlyIncome
float64
DurationOfPitch
float64
NumberOfTrips
float64
NumberOfPersonVisiting
int64
NumberOfChildrenVisiting
float64
NumberOfFollowups
float64
TypeofContact
string
Occupation
string
Gender
string
MaritalStatus
string
Designation
string
ProductPitched
string
CityTier
int64
PreferredPropertyStar
float64
PitchSatisfactionScore
int64
Passport
int64
OwnCar
int64
44
22,879
8
2
3
0
1
Self Enquiry
Salaried
Female
Married
Senior Manager
Standard
1
3
4
1
1
35
27,306
20
3
3
2
4
Self Enquiry
Small Business
Male
Married
Senior Manager
Standard
3
3
1
0
1
47
29,131
7
3
4
2
4
Self Enquiry
Small Business
Female
Married
Senior Manager
Standard
3
5
2
0
1
32
21,220
6
2
3
0
3
Self Enquiry
Salaried
Male
Married
Manager
Deluxe
1
4
3
0
1
59
21,157
9
6
3
2
4
Self Enquiry
Large Business
Male
Single
Executive
Basic
1
3
2
0
1
44
33,213
11
1
2
1
3
Self Enquiry
Small Business
Male
Divorced
VP
King
3
4
5
0
1
32
17,837
35
2
2
0
4
Self Enquiry
Salaried
Female
Single
Executive
Basic
1
4
3
0
1
27
23,974
7
3
3
2
4
Self Enquiry
Salaried
Male
Married
Manager
Deluxe
3
3
5
0
0
38
20,249
8
4
2
1
4
Company Invited
Salaried
Male
Divorced
Manager
Deluxe
3
3
5
0
1
32
23,499
12
2
3
1
4
Self Enquiry
Large Business
Male
Married
Executive
Basic
1
3
4
1
1
40
18,319
30
2
3
1
3
Self Enquiry
Large Business
Male
Married
Manager
Deluxe
1
3
3
0
1
38
22,963
20
3
3
1
4
Self Enquiry
Small Business
Male
Married
Manager
Deluxe
1
3
1
0
0
35
23,789
6
2
3
0
3
Company Invited
Small Business
Female
Unmarried
Senior Manager
Standard
3
3
5
0
1
35
17,074
8
2
3
1
3
Self Enquiry
Salaried
Female
Married
Executive
Basic
1
5
1
1
1
34
22,086
17
2
3
1
6
Self Enquiry
Small Business
Male
Married
Executive
Basic
1
3
5
0
0
33
21,515
36
3
3
1
5
Self Enquiry
Salaried
Female
Unmarried
Executive
Basic
1
4
3
0
1
51
17,075
15
4
3
0
3
Self Enquiry
Salaried
Male
Divorced
Executive
Basic
1
3
3
0
1
29
16,091
30
2
2
1
1
Company Invited
Large Business
Male
Single
Executive
Basic
3
5
3
0
1
34
20,304
25
1
3
2
2
Company Invited
Small Business
Male
Single
Manager
Deluxe
3
3
2
1
1
38
32,342
14
6
2
1
4
Self Enquiry
Small Business
Male
Single
Senior Manager
Standard
1
3
2
0
0
46
24,396
6
1
3
0
3
Self Enquiry
Small Business
Male
Married
Senior Manager
Standard
1
5
2
0
0
54
25,725
25
3
2
0
3
Self Enquiry
Small Business
Male
Divorced
Senior Manager
Standard
2
4
3
0
1
56
26,103
15
1
2
0
3
Self Enquiry
Small Business
Male
Married
AVP
Super Deluxe
1
3
4
0
0
30
17,285
10
19
2
1
3
Company Invited
Large Business
Male
Single
Executive
Basic
1
3
4
1
1
26
17,867
6
1
3
2
3
Self Enquiry
Small Business
Male
Single
Executive
Basic
1
5
5
0
1
33
26,691
13
1
2
0
3
Self Enquiry
Small Business
Male
Married
Senior Manager
Standard
1
3
4
0
1
24
17,127
23
2
3
1
4
Self Enquiry
Salaried
Male
Married
Executive
Basic
1
4
3
0
1
30
25,062
36
2
4
3
6
Self Enquiry
Salaried
Male
Married
Manager
Deluxe
1
3
5
0
1
33
20,147
8
1
3
0
3
Company Invited
Small Business
Female
Single
Manager
Deluxe
3
4
1
0
0
53
22,525
8
3
2
0
4
Company Invited
Small Business
Female
Married
Senior Manager
Standard
3
4
1
0
1
29
23,576
14
2
3
2
4
Company Invited
Salaried
Male
Unmarried
Manager
Deluxe
3
5
3
0
1
39
20,151
15
2
2
0
3
Self Enquiry
Small Business
Male
Married
Manager
Deluxe
1
5
4
0
1
46
23,483
9
2
4
3
4
Self Enquiry
Salaried
Male
Married
Manager
Deluxe
3
4
5
0
1
35
30,672
14
2
3
1
4
Self Enquiry
Salaried
Female
Single
Senior Manager
Standard
1
4
3
0
1
35
20,909
9
8
4
1
4
Company Invited
Small Business
Female
Married
Executive
Basic
3
3
5
0
0
33
21,010
7
8
4
3
5
Company Invited
Salaried
Female
Married
Executive
Basic
1
4
3
0
0
29
21,623
16
2
2
0
4
Company Invited
Salaried
Female
Unmarried
Executive
Basic
1
3
4
0
1
41
21,230
16
1
2
1
3
Company Invited
Salaried
Male
Single
Manager
Deluxe
3
3
1
0
0
43
22,950
36
6
3
1
6
Self Enquiry
Small Business
Male
Unmarried
Manager
Deluxe
1
3
3
0
1
35
21,029
13
2
3
2
6
Company Invited
Small Business
Female
Married
Executive
Basic
3
3
4
0
0
41
28,591
12
4
3
0
3
Self Enquiry
Salaried
Female
Single
Senior Manager
Standard
3
3
1
1
0
33
21,949
6
1
2
0
4
Self Enquiry
Salaried
Female
Unmarried
Manager
Deluxe
1
3
4
0
0
40
28,499
15
1
2
0
3
Company Invited
Small Business
Female
Unmarried
Senior Manager
Standard
1
3
4
0
0
26
18,102
9
1
3
1
3
Company Invited
Large Business
Male
Single
Executive
Basic
1
5
3
0
0
41
18,072
25
3
2
0
3
Self Enquiry
Salaried
Male
Married
Manager
Deluxe
1
5
1
0
0
37
27,185
17
2
2
1
3
Company Invited
Salaried
Male
Married
Senior Manager
Standard
1
3
3
1
0
31
17,329
13
4
2
1
4
Self Enquiry
Salaried
Male
Married
Executive
Basic
3
3
4
0
1
45
21,040
8
8
3
2
6
Self Enquiry
Salaried
Male
Single
Manager
Deluxe
3
4
3
0
0
33
18,348
9
2
3
2
3
Company Invited
Salaried
Male
Single
Executive
Basic
1
5
5
1
1
33
21,048
9
3
4
1
4
Self Enquiry
Small Business
Female
Divorced
Executive
Basic
1
4
4
0
0
33
21,388
14
3
3
2
3
Self Enquiry
Salaried
Male
Unmarried
Manager
Deluxe
1
3
3
1
0
30
21,577
18
1
2
0
3
Self Enquiry
Large Business
Female
Unmarried
Manager
Deluxe
3
3
2
0
1
42
17,759
25
7
2
1
2
Company Invited
Small Business
Male
Married
Executive
Basic
1
3
3
1
1
46
32,861
8
7
2
0
3
Self Enquiry
Salaried
Male
Married
AVP
Super Deluxe
1
3
5
0
1
51
21,058
16
6
4
3
4
Self Enquiry
Salaried
Male
Married
Executive
Basic
1
3
5
0
1
30
21,091
8
3
2
0
5
Self Enquiry
Salaried
Female
Single
Manager
Deluxe
1
3
1
0
1
37
22,366
25
6
3
1
3
Company Invited
Salaried
Male
Divorced
Executive
Basic
1
3
5
0
0
28
17,706
6
2
2
1
3
Company Invited
Salaried
Male
Married
Executive
Basic
2
3
4
0
0
42
28,348
12
1
2
0
3
Self Enquiry
Small Business
Male
Married
Senior Manager
Standard
1
5
3
0
1
44
20,933
10
1
2
0
3
Self Enquiry
Small Business
Male
Single
Manager
Deluxe
1
4
2
0
1
39
21,118
9
3
3
1
5
Company Invited
Small Business
Female
Single
Executive
Basic
1
4
1
0
1
42
21,545
23
4
2
0
2
Self Enquiry
Salaried
Female
Unmarried
Manager
Deluxe
1
5
2
1
0
39
25,880
28
2
2
1
3
Company Invited
Small Business
Female
Unmarried
Senior Manager
Standard
1
5
5
1
1
28
21,674
6
1
2
0
5
Company Invited
Salaried
Female
Divorced
Manager
Deluxe
1
3
3
0
1
43
32,159
20
7
3
1
3
Self Enquiry
Salaried
Male
Married
AVP
Super Deluxe
1
5
5
0
1
45
26,656
22
3
4
2
4
Self Enquiry
Small Business
Female
Divorced
Senior Manager
Standard
1
3
3
0
0
53
24,255
13
5
4
2
4
Self Enquiry
Large Business
Male
Married
Manager
Deluxe
1
5
4
1
1
42
20,916
16
4
4
1
4
Self Enquiry
Salaried
Male
Married
Executive
Basic
1
5
1
0
0
36
20,237
33
7
3
0
3
Self Enquiry
Small Business
Male
Divorced
Manager
Deluxe
1
3
3
0
1
22
20,748
7
3
4
3
5
Self Enquiry
Large Business
Female
Single
Executive
Basic
1
4
5
1
0
37
24,592
12
2
4
3
4
Self Enquiry
Salaried
Male
Unmarried
Manager
Deluxe
1
4
2
0
0
30
24,443
20
7
3
2
4
Company Invited
Large Business
Female
Unmarried
Manager
Deluxe
3
4
3
0
0
36
28,562
18
4
4
3
5
Company Invited
Small Business
Male
Married
Senior Manager
Standard
1
5
5
1
1
40
34,033
10
2
2
1
3
Self Enquiry
Small Business
Female
Divorced
VP
King
1
3
5
0
0
51
25,650
14
3
2
1
5
Company Invited
Salaried
Male
Unmarried
Senior Manager
Standard
1
3
2
0
0
39
21,536
7
6
3
2
5
Self Enquiry
Salaried
Male
Unmarried
Executive
Basic
3
5
3
0
0
43
29,336
18
2
2
1
4
Self Enquiry
Salaried
Male
Married
AVP
Super Deluxe
1
4
3
0
0
35
16,951
10
2
3
0
3
Self Enquiry
Salaried
Male
Married
Executive
Basic
1
3
4
0
0
40
29,616
9
2
4
2
4
Company Invited
Large Business
Female
Single
Senior Manager
Standard
1
3
2
0
1
27
23,362
17
3
3
1
4
Self Enquiry
Small Business
Male
Unmarried
Manager
Deluxe
3
3
1
0
0
26
17,042
8
7
2
0
3
Company Invited
Salaried
Male
Divorced
Executive
Basic
1
5
5
1
1
43
31,959
32
2
3
0
3
Company Invited
Salaried
Male
Divorced
AVP
Super Deluxe
3
3
2
1
0
32
25,511
18
3
4
3
4
Self Enquiry
Small Business
Male
Divorced
Manager
Deluxe
1
5
2
1
0
35
30,309
12
4
3
1
5
Self Enquiry
Small Business
Female
Single
Senior Manager
Standard
1
5
2
0
0
34
21,300
11
8
3
2
5
Self Enquiry
Small Business
Female
Married
Executive
Basic
1
4
4
0
0
31
16,261
14
2
2
1
4
Self Enquiry
Salaried
Female
Single
Executive
Basic
1
4
4
0
0
35
24,392
16
3
4
1
4
Self Enquiry
Salaried
Female
Married
Manager
Deluxe
3
3
1
0
0
42
24,829
16
2
3
2
6
Company Invited
Salaried
Male
Married
AVP
Super Deluxe
3
3
5
0
1
34
20,121
14
4
2
1
3
Self Enquiry
Salaried
Female
Married
Manager
Deluxe
1
5
5
0
1
34
21,385
9
2
3
1
4
Self Enquiry
Salaried
Female
Divorced
Executive
Basic
1
5
3
0
1
34
26,994
13
1
2
0
3
Self Enquiry
Salaried
Female
Unmarried
Senior Manager
Standard
1
4
3
0
1
39
24,939
36
5
3
2
4
Self Enquiry
Large Business
Male
Divorced
Manager
Deluxe
1
3
2
0
0
29
22,119
12
3
3
1
4
Self Enquiry
Large Business
Male
Unmarried
Executive
Basic
1
3
1
1
0
35
20,762
8
3
2
1
3
Company Invited
Small Business
Male
Married
Manager
Deluxe
1
3
3
0
0
26
20,828
10
2
2
1
4
Self Enquiry
Small Business
Male
Single
Manager
Deluxe
3
3
2
1
1
37
21,513
10
7
3
1
4
Self Enquiry
Salaried
Female
Married
Executive
Basic
1
3
2
0
1
35
24,024
16
6
4
2
4
Company Invited
Salaried
Male
Married
Manager
Deluxe
1
5
3
0
0
40
30,847
9
2
3
1
4
Company Invited
Salaried
Male
Married
AVP
Super Deluxe
1
3
3
0
1
33
17,851
11
2
2
0
3
Self Enquiry
Small Business
Female
Single
Executive
Basic
3
3
2
1
1
38
17,899
15
1
3
0
4
Self Enquiry
Small Business
Male
Divorced
Executive
Basic
3
4
4
0
0
End of preview.

No dataset card yet

Downloads last month
36