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

This happened while the csv dataset builder was generating data using

hf://datasets/srihitha-raok/Tourism-Package-Prediction/tourism.csv (at revision 11d72194eda66df14f8d86b4e3815c520b1f2cf0)

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

No dataset card yet

Downloads last month
6