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 ({'ProdTaken', 'CustomerID'})

This happened while the csv dataset builder was generating data using

hf://datasets/Anil28053/Tourism-Prediction/tourism.csv (at revision a614334d0fde9902e29d0cf0f638988a594f9e59)

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