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 1 new columns ({'ProdTaken'}) and 18 missing columns ({'Occupation', 'DurationOfPitch', 'Passport', 'MaritalStatus', 'MonthlyIncome', 'Age', 'ProductPitched', 'OwnCar', 'NumberOfTrips', 'PreferredPropertyStar', 'CityTier', 'NumberOfFollowups', 'NumberOfChildrenVisiting', 'TypeofContact', 'PitchSatisfactionScore', 'Designation', 'Gender', 'NumberOfPersonVisiting'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Enoch1359/Tourism_data/y_train.csv (at revision 18f49fd16bb85c91ac5aa1af879dc7dcb784f8fe)

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
              ProdTaken: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 377
              to
              {'Age': Value('float64'), 'CityTier': Value('int64'), 'DurationOfPitch': Value('float64'), '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 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 1 new columns ({'ProdTaken'}) and 18 missing columns ({'Occupation', 'DurationOfPitch', 'Passport', 'MaritalStatus', 'MonthlyIncome', 'Age', 'ProductPitched', 'OwnCar', 'NumberOfTrips', 'PreferredPropertyStar', 'CityTier', 'NumberOfFollowups', 'NumberOfChildrenVisiting', 'TypeofContact', 'PitchSatisfactionScore', 'Designation', 'Gender', 'NumberOfPersonVisiting'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Enoch1359/Tourism_data/y_train.csv (at revision 18f49fd16bb85c91ac5aa1af879dc7dcb784f8fe)
              
              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
CityTier
int64
DurationOfPitch
float64
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
55
1
17
4
4
5
8
1
1
0
1
23,118
Self Enquiry
Small Business
Female
Deluxe
Single
Manager
39
1
9
3
4
3
7
1
4
0
2
22,622
Self Enquiry
Salaried
Male
Basic
Single
Executive
42
2
8
3
1
5
1
0
2
0
2
21,272
Company Invited
Small Business
Male
Deluxe
Divorced
Manager
37
1
12
3
5
5
2
1
2
1
1
98,678
Self Enquiry
Salaried
Female
Basic
Divorced
Executive
23
1
7
3
5
3
8
0
2
1
1
23,453
Self Enquiry
Salaried
Male
Deluxe
Divorced
Manager
33
1
31
4
4
3
3
0
4
1
1
23,987
Company Invited
Salaried
Male
Deluxe
Divorced
Manager
38
1
24
2
5
3
4
1
5
0
1
20,811
Self Enquiry
Small Business
Male
Deluxe
Married
Manager
60
1
9
4
5
3
5
1
5
0
3
32,404
Self Enquiry
Salaried
Female
Super Deluxe
Single
AVP
53
3
8
2
4
4
3
0
1
1
0
22,525
Company Invited
Small Business
Female
Standard
Married
Senior Manager
37
1
33
4
4
3
8
0
3
1
1
24,025
Self Enquiry
Salaried
Male
Deluxe
Married
Manager
60
3
34
3
4
5
5
0
1
1
0
25,266
Company Invited
Small Business
Female
Standard
Married
Senior Manager
43
1
36
3
6
3
6
0
3
1
2
22,950
Self Enquiry
Small Business
Male
Deluxe
Single
Manager
35
1
22
2
1
4
1
0
4
1
1
17,426
Self Enquiry
Small Business
Male
Basic
Married
Executive
43
1
10
4
2
3
4
1
5
1
1
23,909
Self Enquiry
Salaried
Female
Deluxe
Married
Manager
52
1
34
2
1
3
3
1
4
0
0
28,247
Company Invited
Small Business
Female
Super Deluxe
Divorced
AVP
59
1
9
3
5
3
2
1
2
0
1
21,058
Company Invited
Salaried
Male
Basic
Married
Executive
36
1
33
3
3
3
7
0
3
1
0
20,237
Self Enquiry
Small Business
Male
Deluxe
Divorced
Manager
29
1
23
3
4
3
3
0
3
0
1
20,822
Company Invited
Small Business
Male
Basic
Single
Executive
37
1
16
3
5
4
4
1
4
0
2
27,525
Self Enquiry
Small Business
Male
Deluxe
Married
Manager
38
1
8
2
3
3
1
0
2
0
1
21,553
Self Enquiry
Salaried
Male
Deluxe
Divorced
Manager
31
3
6
2
5
3
2
0
3
1
1
16,359
Company Invited
Salaried
Female
Basic
Single
Executive
46
3
16
4
4
5
6
1
2
1
1
29,439
Self Enquiry
Small Business
Male
Standard
Married
Senior Manager
41
3
14
3
4
4
3
0
5
0
1
23,339
Self Enquiry
Small Business
Male
Basic
Single
Executive
35
1
13
3
3
4
2
1
3
1
1
20,363
Self Enquiry
Salaried
Male
Basic
Single
Executive
29
3
16
3
3
3
2
0
4
1
0
17,642
Self Enquiry
Salaried
Male
Basic
Single
Executive
51
3
27
3
3
3
1
1
5
0
2
20,441
Self Enquiry
Small Business
Male
Deluxe
Single
Manager
39
1
6
2
2
3
1
0
3
1
0
24,613
Self Enquiry
Small Business
Male
Standard
Married
Senior Manager
37
3
22
3
4
3
5
0
5
1
2
21,334
Self Enquiry
Small Business
Male
Deluxe
Married
Manager
33
3
23
2
3
3
2
0
3
1
1
32,444
Company Invited
Salaried
Male
Super Deluxe
Single
AVP
51
3
19
4
4
3
6
0
5
1
3
27,886
Company Invited
Small Business
Female
Standard
Single
Senior Manager
42
1
12
3
2
4
5
0
5
1
1
25,548
Self Enquiry
Salaried
Male
Deluxe
Single
Manager
33
3
15
4
5
4
3
1
2
1
1
23,906
Self Enquiry
Large Business
Female
Deluxe
Divorced
Manager
30
1
17
4
4
4
2
0
5
1
1
21,969
Company Invited
Salaried
Female
Basic
Married
Executive
41
3
7
3
6
3
4
1
3
1
1
26,135
Self Enquiry
Small Business
Male
Deluxe
Divorced
Manager
38
1
12
3
2
3
2
0
5
1
1
22,178
Company Invited
Large Business
Male
Basic
Single
Executive
28
3
9
3
6
3
5
0
4
1
2
23,749
Company Invited
Salaried
Male
Deluxe
Single
Manager
27
1
24
4
6
3
3
0
3
0
3
20,983
Self Enquiry
Small Business
Male
Basic
Married
Executive
27
1
11
2
3
4
2
1
3
0
1
17,478
Self Enquiry
Salaried
Female
Basic
Single
Executive
24
1
11
3
2
5
4
0
4
0
2
21,497
Self Enquiry
Small Business
Male
Basic
Married
Executive
34
1
22
3
4
3
2
0
5
1
2
17,553
Company Invited
Salaried
Female
Basic
Single
Executive
37
3
17
3
5
5
2
0
5
0
1
25,772
Self Enquiry
Small Business
Male
Standard
Married
Senior Manager
34
1
7
3
4
5
1
0
1
0
0
20,343
Company Invited
Small Business
Male
Deluxe
Single
Manager
30
3
32
2
4
5
6
0
2
0
1
21,696
Company Invited
Small Business
Female
Deluxe
Single
Manager
27
1
23
2
3
4
1
1
4
0
0
18,058
Self Enquiry
Large Business
Male
Basic
Married
Executive
36
1
9
3
5
4
4
0
4
1
1
28,952
Self Enquiry
Salaried
Male
Standard
Married
Senior Manager
40
1
30
3
3
3
2
0
3
1
1
18,319
Self Enquiry
Large Business
Male
Deluxe
Married
Manager
38
1
7
3
4
3
6
0
5
1
2
26,169
Self Enquiry
Large Business
Female
Standard
Single
Senior Manager
33
3
9
3
5
4
2
1
1
1
1
28,585
Self Enquiry
Small Business
Male
Deluxe
Single
Manager
30
1
16
2
5
3
2
0
1
1
1
22,661
Self Enquiry
Salaried
Male
Basic
Single
Executive
52
1
6
3
3
3
3
0
1
1
2
32,099
Self Enquiry
Salaried
Male
Super Deluxe
Married
AVP
33
3
7
3
6
4
8
0
3
0
2
25,413
Self Enquiry
Salaried
Male
Deluxe
Single
Manager
20
1
17
4
5
4
3
1
5
0
3
20,537
Company Invited
Small Business
Female
Basic
Single
Executive
38
1
29
2
4
3
1
0
3
0
0
24,526
Company Invited
Salaried
Male
Standard
Single
Senior Manager
31
1
17
2
3
3
4
1
3
0
0
17,356
Self Enquiry
Salaried
Male
Basic
Married
Executive
52
1
11
3
4
3
2
1
2
1
2
21,139
Self Enquiry
Salaried
Male
Basic
Divorced
Executive
39
1
10
3
4
3
5
1
5
1
1
22,995
Self Enquiry
Large Business
Female
Deluxe
Single
Manager
40
3
11
3
5
3
6
0
5
1
2
24,580
Self Enquiry
Salaried
Female
Deluxe
Married
Manager
26
1
26
4
4
3
5
0
5
1
3
22,347
Self Enquiry
Small Business
Male
Basic
Divorced
Executive
47
3
15
2
5
3
1
0
5
1
1
27,936
Company Invited
Salaried
Male
Super Deluxe
Married
AVP
28
3
16
3
3
4
2
0
5
0
2
16,052
Self Enquiry
Small Business
Male
Basic
Married
Executive
19
1
15
4
4
3
3
0
5
0
1
20,582
Company Invited
Small Business
Male
Basic
Single
Executive
52
3
9
2
4
5
2
0
5
1
0
31,856
Self Enquiry
Small Business
Male
Super Deluxe
Married
AVP
20
3
7
4
6
5
2
0
3
1
2
21,003
Company Invited
Large Business
Female
Basic
Single
Executive
43
3
15
3
4
4
2
0
3
0
2
25,503
Self Enquiry
Small Business
Male
Deluxe
Divorced
Manager
30
1
8
4
4
3
3
0
1
1
3
22,438
Self Enquiry
Salaried
Female
Basic
Married
Executive
51
3
7
4
4
3
2
0
3
1
2
25,406
Company Invited
Salaried
Male
Deluxe
Married
Manager
41
1
16
4
5
3
2
0
5
0
2
23,554
Company Invited
Salaried
Male
Deluxe
Married
Manager
33
3
15
3
4
3
3
0
4
1
2
27,676
Company Invited
Small Business
Female
Standard
Single
Senior Manager
22
3
16
3
4
3
3
0
4
0
1
21,288
Company Invited
Small Business
Male
Basic
Single
Executive
40
1
16
2
1
3
4
1
3
0
1
17,213
Self Enquiry
Salaried
Female
Basic
Married
Executive
53
3
6
2
3
5
1
0
1
1
1
23,381
Self Enquiry
Small Business
Female
Deluxe
Single
Manager
29
1
9
3
5
5
2
0
4
0
1
21,239
Company Invited
Small Business
Male
Basic
Single
Executive
44
1
16
4
4
3
5
1
3
1
3
24,357
Company Invited
Small Business
Male
Deluxe
Married
Manager
23
1
13
4
4
3
2
0
2
1
1
21,451
Self Enquiry
Small Business
Male
Basic
Divorced
Executive
43
1
36
3
6
3
6
0
3
1
1
22,950
Self Enquiry
Small Business
Male
Deluxe
Single
Manager
33
3
23
2
3
3
2
0
3
1
0
32,444
Company Invited
Salaried
Male
Super Deluxe
Single
AVP
37
3
7
3
4
3
6
0
1
1
2
25,331
Company Invited
Small Business
Female
Deluxe
Single
Manager
37
1
16
2
1
3
2
1
1
0
1
28,744
Self Enquiry
Salaried
Female
Standard
Married
Senior Manager
40
3
10
3
4
3
6
1
4
1
2
23,916
Self Enquiry
Small Business
Female
Deluxe
Married
Manager
36
1
7
3
2
3
5
0
3
1
2
21,184
Self Enquiry
Salaried
Female
Basic
Single
Executive
50
1
23
4
4
5
6
1
1
1
2
21,265
Self Enquiry
Small Business
Female
Basic
Married
Executive
21
3
6
3
4
4
2
1
5
1
2
17,174
Company Invited
Large Business
Female
Basic
Single
Executive
28
3
9
4
6
4
4
1
5
1
2
21,195
Self Enquiry
Small Business
Female
King
Single
VP
52
1
15
3
5
4
7
0
3
1
2
31,168
Self Enquiry
Salaried
Male
Standard
Divorced
Senior Manager
40
1
14
3
4
3
2
1
4
1
2
24,094
Self Enquiry
Small Business
Male
Basic
Single
Executive
29
1
12
2
3
3
2
0
3
0
1
18,131
Self Enquiry
Small Business
Female
Basic
Married
Executive
35
1
17
3
4
5
3
1
5
1
1
24,884
Company Invited
Small Business
Male
Standard
Divorced
Senior Manager
38
3
13
4
4
3
6
0
3
1
1
25,180
Self Enquiry
Small Business
Male
Deluxe
Married
Manager
51
1
6
1
4
5
4
0
2
1
0
22,484
Company Invited
Small Business
Female
Standard
Single
Senior Manager
22
3
16
3
4
3
3
0
4
1
1
21,288
Company Invited
Small Business
Male
Basic
Single
Executive
36
2
19
2
3
4
5
0
3
1
1
17,143
Self Enquiry
Salaried
Male
Basic
Married
Executive
31
1
17
3
3
5
2
1
1
1
1
21,833
Self Enquiry
Small Business
Male
Deluxe
Married
Manager
28
3
16
3
4
3
3
0
1
0
2
22,783
Self Enquiry
Small Business
Male
Deluxe
Single
Manager
50
1
7
3
5
3
2
1
3
0
1
32,642
Self Enquiry
Large Business
Female
Super Deluxe
Single
AVP
28
1
13
3
5
3
3
0
1
1
2
21,217
Self Enquiry
Salaried
Male
Basic
Married
Executive
40
1
14
3
3
5
3
1
1
0
0
21,516
Self Enquiry
Salaried
Female
Deluxe
Married
Manager
29
1
21
2
3
3
2
0
3
0
0
17,340
Self Enquiry
Salaried
Male
Basic
Single
Executive
40
1
17
4
4
3
2
0
3
1
1
32,142
Self Enquiry
Small Business
Male
Standard
Single
Senior Manager
29
1
7
3
4
3
2
1
4
0
1
20,832
Company Invited
Small Business
Male
Basic
Single
Executive
31
1
8
4
4
4
2
1
4
1
3
22,257
Self Enquiry
Small Business
Male
Basic
Married
Executive
End of preview.

No dataset card yet

Downloads last month
-