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

This happened while the csv dataset builder was generating data using

hf://datasets/Cruise949/tourism-predict/y_train.csv (at revision 38d1e3002a3b2026491334f94c21d63cd2517fb8)

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
              ProdTaken: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 377
              to
              {'Age': Value('float64'), 'TypeofContact': Value('string'), 'CityTier': Value('int64'), 'DurationOfPitch': Value('float64'), 'Occupation': Value('string'), 'Gender': Value('string'), 'NumberOfPersonVisiting': Value('int64'), 'NumberOfFollowups': Value('float64'), 'ProductPitched': Value('string'), 'PreferredPropertyStar': Value('float64'), 'MaritalStatus': Value('string'), 'NumberOfTrips': Value('float64'), 'Passport': Value('int64'), 'PitchSatisfactionScore': Value('int64'), 'OwnCar': Value('int64'), 'NumberOfChildrenVisiting': Value('float64'), 'Designation': Value('string'), '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 1455, 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 1054, 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 1 new columns ({'ProdTaken'}) and 18 missing columns ({'CityTier', 'NumberOfChildrenVisiting', 'NumberOfTrips', 'TypeofContact', 'PitchSatisfactionScore', 'ProductPitched', 'Occupation', 'DurationOfPitch', 'PreferredPropertyStar', 'MaritalStatus', 'Designation', 'Passport', 'OwnCar', 'NumberOfFollowups', 'Gender', 'MonthlyIncome', 'NumberOfPersonVisiting', 'Age'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Cruise949/tourism-predict/y_train.csv (at revision 38d1e3002a3b2026491334f94c21d63cd2517fb8)
              
              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
TypeofContact
string
CityTier
int64
DurationOfPitch
float64
Occupation
string
Gender
string
NumberOfPersonVisiting
int64
NumberOfFollowups
float64
ProductPitched
string
PreferredPropertyStar
float64
MaritalStatus
string
NumberOfTrips
float64
Passport
int64
PitchSatisfactionScore
int64
OwnCar
int64
NumberOfChildrenVisiting
float64
Designation
string
MonthlyIncome
float64
26
Company Invited
2
23
Salaried
Female
2
3
Basic
3
Married
1
1
5
0
1
Executive
17,741
42
Self Enquiry
1
6
Salaried
Female
2
4
Deluxe
3
Divorced
1
1
3
0
1
Manager
21,062
56
Company Invited
1
9
Salaried
Male
4
4
Standard
4
Married
5
0
1
0
2
Senior Manager
29,654
27
Company Invited
3
36
Small Business
Male
4
6
Deluxe
5
Unmarried
2
0
3
1
2
Manager
23,647
37
Self Enquiry
1
9
Salaried
Female
4
4
Basic
3
Divorced
6
0
5
1
1
Executive
21,221
31
Self Enquiry
2
28
Salaried
Male
2
5
Basic
3
Married
2
0
1
0
1
Executive
24,852
49
Company Invited
3
8
Small Business
Male
3
4
Deluxe
4
Married
3
0
3
1
2
Manager
20,390
43
Company Invited
1
16
Salaried
Female
2
3
Basic
3
Single
1
0
5
0
0
Executive
17,455
40
Self Enquiry
3
9
Salaried
Male
3
2
Standard
3
Unmarried
2
0
1
0
1
Senior Manager
26,558
58
Self Enquiry
1
31
Salaried
Male
3
3
Standard
3
Married
5
1
4
1
2
Senior Manager
28,117
56
Self Enquiry
1
27
Large Business
Male
3
4
Deluxe
3
Divorced
5
1
2
1
2
Manager
24,093
56
Company Invited
3
12
Salaried
Female
2
2
Super Deluxe
5
Divorced
1
0
3
1
0
AVP
28,212
52
Self Enquiry
3
34
Salaried
Male
3
4
Deluxe
3
Single
3
1
5
1
2
Manager
32,704
36
Self Enquiry
1
7
Large Business
Female
3
5
Standard
5
Married
3
1
1
1
0
Senior Manager
25,252
24
Company Invited
1
15
Salaried
Male
2
4
Basic
4
Married
2
0
5
1
0
Executive
17,694
30
Self Enquiry
3
14
Salaried
Male
3
3
Standard
3
Married
6
0
3
1
0
Senior Manager
22,264
25
Self Enquiry
1
15
Salaried
Male
2
3
Basic
5
Single
4
0
1
1
0
Executive
17,096
37
Self Enquiry
1
11
Salaried
Male
3
5
Deluxe
3
Unmarried
3
0
5
1
2
Manager
24,488
20
Self Enquiry
1
16
Small Business
Male
2
3
Basic
3
Single
2
1
5
1
1
Executive
16,009
44
Self Enquiry
3
11
Small Business
Female
3
5
Standard
3
Single
5
0
3
1
1
Senior Manager
28,909
29
Self Enquiry
3
12
Small Business
Male
4
4
Deluxe
3
Unmarried
3
0
3
0
2
Manager
23,586
36
Self Enquiry
1
14
Salaried
Male
3
4
Standard
3
Single
5
0
3
0
2
Senior Manager
28,899
49
Self Enquiry
1
11
Salaried
Male
4
5
Standard
3
Single
2
0
5
1
2
Senior Manager
29,677
36
Self Enquiry
1
12
Salaried
Female
2
2
Deluxe
3
Divorced
4
0
2
0
0
Manager
18,038
41
Self Enquiry
3
9
Small Business
Female
3
4
Deluxe
4
Married
2
0
1
0
1
Manager
24,393
34
Self Enquiry
2
10
Salaried
Male
3
4
Basic
4
Married
5
1
5
0
2
Executive
20,955
30
Company Invited
3
9
Salaried
Male
3
4
Deluxe
3
Unmarried
3
0
2
0
1
Manager
23,232
45
Company Invited
1
13
Salaried
Male
3
3
Standard
5
Married
2
0
2
1
2
Senior Manager
20,210
56
Self Enquiry
1
27
Large Business
Male
3
4
Deluxe
3
Married
5
1
1
0
1
Manager
24,093
18
Company Invited
1
11
Salaried
Male
3
3
Basic
3
Single
2
0
1
0
1
Executive
16,051
40
Self Enquiry
1
7
Small Business
Male
3
2
Standard
3
Married
2
0
3
1
1
Senior Manager
28,291
33
Self Enquiry
1
6
Salaried
Male
3
3
Basic
3
Single
2
1
3
1
0
Executive
17,686
31
Self Enquiry
3
12
Small Business
Female
2
5
Deluxe
3
Married
3
0
1
1
1
Manager
24,796
29
Company Invited
1
13
Salaried
Male
3
5
Basic
3
Married
3
1
4
1
1
Executive
21,381
44
Company Invited
1
23
Salaried
Male
3
5
Basic
3
Single
3
0
4
1
1
Executive
17,290
38
Company Invited
1
12
Small Business
Female
3
5
Deluxe
3
Married
1
1
2
0
2
Manager
20,329
36
Self Enquiry
1
22
Salaried
Female
2
1
Basic
5
Single
2
0
1
1
0
Executive
17,743
30
Self Enquiry
3
13
Small Business
Male
2
3
Basic
4
Single
1
0
1
0
0
Executive
17,983
37
Self Enquiry
3
12
Small Business
Male
3
3
Deluxe
3
Divorced
5
0
3
0
0
Manager
21,502
49
Self Enquiry
3
36
Small Business
Female
4
4
Standard
3
Married
5
0
4
0
2
Senior Manager
31,182
26
Self Enquiry
1
9
Salaried
Male
3
4
Basic
3
Married
8
1
5
0
1
Executive
22,655
36
Self Enquiry
3
14
Salaried
Male
4
4
Basic
3
Divorced
3
0
3
1
1
Executive
21,082
39
Company Invited
1
36
Salaried
Female
3
4
Deluxe
3
Single
3
0
3
1
1
Manager
21,084
35
Company Invited
1
9
Salaried
Male
2
4
Basic
3
Married
2
0
1
1
1
Executive
16,281
51
Company Invited
1
6
Small Business
Female
1
4
Standard
5
Unmarried
4
0
2
1
0
Senior Manager
22,484
37
Self Enquiry
3
8
Small Business
Male
3
3
Deluxe
3
Married
5
1
3
0
2
Manager
24,602
28
Company Invited
1
10
Small Business
Male
3
4
Basic
3
Married
3
0
1
0
1
Executive
20,384
35
Company Invited
3
14
Small Business
Female
3
4
Standard
3
Married
5
1
5
1
2
Senior Manager
25,377
31
Self Enquiry
1
14
Small Business
Male
3
5
Basic
4
Married
3
0
5
0
1
Executive
20,819
31
Self Enquiry
2
24
Salaried
Male
2
1
Basic
5
Married
1
0
1
1
0
Executive
17,956
30
Company Invited
1
7
Salaried
Male
4
2
Deluxe
3
Unmarried
2
1
3
0
2
Manager
24,972
35
Self Enquiry
1
22
Salaried
Male
3
3
Standard
3
Married
5
1
1
0
0
Senior Manager
22,632
46
Company Invited
3
13
Small Business
Female
3
5
Standard
3
Unmarried
8
0
4
1
1
Senior Manager
27,543
21
Self Enquiry
3
28
Small Business
Male
3
2
Basic
3
Unmarried
3
0
3
1
2
Executive
21,356
30
Self Enquiry
3
33
Small Business
Male
2
3
Deluxe
3
Married
1
0
3
1
0
Manager
20,304
37
Company Invited
3
10
Small Business
Male
3
5
Standard
3
Married
6
0
1
0
1
Senior Manager
28,377
48
Company Invited
3
10
Small Business
Female
3
4
Super Deluxe
3
Married
2
1
5
1
1
AVP
32,448
36
Self Enquiry
1
16
Small Business
Male
3
4
Deluxe
3
Unmarried
3
0
4
0
2
Manager
23,776
49
Company Invited
1
8
Salaried
Male
2
3
King
3
Married
4
0
3
1
0
VP
34,161
33
Self Enquiry
1
6
Salaried
Female
2
4
Deluxe
3
Unmarried
1
0
4
1
1
Manager
21,949
20
Self Enquiry
1
10
Small Business
Female
4
4
Basic
4
Single
3
0
3
1
3
Executive
20,161
30
Self Enquiry
3
7
Small Business
Female
3
5
Basic
3
Married
8
1
1
1
2
Executive
21,478
32
Self Enquiry
1
30
Small Business
Male
4
5
Deluxe
3
Divorced
2
0
3
1
2
Manager
24,260
58
Self Enquiry
1
8
Salaried
Male
2
3
King
4
Single
1
1
3
1
0
VP
34,246
29
Company Invited
1
9
Salaried
Male
3
5
Basic
3
Divorced
3
1
4
1
1
Executive
22,545
33
Self Enquiry
1
13
Salaried
Male
3
4
Basic
3
Unmarried
5
0
1
0
2
Executive
21,716
35
Self Enquiry
3
6
Small Business
Male
3
3
Standard
4
Married
2
0
4
0
0
Senior Manager
22,295
42
Company Invited
1
11
Salaried
Male
3
3
Basic
3
Married
5
0
3
0
1
Executive
17,093
42
Self Enquiry
1
29
Salaried
Female
2
3
Super Deluxe
3
Single
3
0
3
0
0
AVP
30,992
48
Self Enquiry
1
8
Large Business
Male
3
1
Basic
4
Single
6
0
2
0
2
Executive
17,559
27
Self Enquiry
3
14
Small Business
Female
2
3
Deluxe
4
Divorced
2
0
2
0
0
Manager
21,214
22
Self Enquiry
3
29
Large Business
Male
3
4
Basic
3
Unmarried
3
0
2
1
2
Executive
22,125
28
Company Invited
1
30
Large Business
Male
3
4
Standard
5
Unmarried
2
0
2
0
0
Senior Manager
23,722
38
Self Enquiry
1
21
Salaried
Female
4
4
Basic
5
Married
3
0
4
1
1
Executive
21,712
41
Self Enquiry
1
18
Large Business
Female
2
3
King
3
Married
2
0
4
1
1
VP
34,545
50
Self Enquiry
1
30
Salaried
Male
3
3
Super Deluxe
3
Married
4
1
4
1
2
AVP
28,973
35
Self Enquiry
3
7
Small Business
Male
4
2
Deluxe
3
Married
2
0
5
0
2
Manager
28,403
21
Self Enquiry
1
18
Small Business
Female
4
5
Basic
5
Unmarried
3
1
3
0
2
Executive
21,278
24
Self Enquiry
1
6
Small Business
Male
3
3
Basic
3
Married
3
1
3
0
2
Executive
17,293
49
Self Enquiry
1
13
Salaried
Male
2
4
Standard
3
Unmarried
1
0
1
1
0
Senior Manager
25,965
38
Self Enquiry
1
6
Salaried
Female
2
2
Deluxe
3
Unmarried
1
0
2
1
1
Manager
22,625
53
Self Enquiry
1
18
Salaried
Female
3
4
Deluxe
3
Married
2
0
1
1
1
Manager
21,827
35
Self Enquiry
1
9
Small Business
Male
4
2
Basic
3
Married
2
1
1
0
2
Executive
21,610
27
Self Enquiry
3
30
Small Business
Female
3
5
Deluxe
3
Married
2
1
1
0
1
Manager
22,835
35
Self Enquiry
1
15
Salaried
Female
3
4
Standard
3
Divorced
2
1
4
1
1
Senior Manager
25,685
28
Company Invited
1
15
Salaried
Male
3
6
Basic
3
Divorced
3
0
2
1
2
Executive
23,299
34
Company Invited
1
7
Small Business
Male
3
4
Deluxe
5
Single
1
0
1
0
0
Manager
20,343
54
Self Enquiry
3
7
Small Business
Female
3
4
Deluxe
5
Unmarried
2
0
1
1
2
Manager
27,059
22
Self Enquiry
1
21
Small Business
Female
2
3
Basic
3
Single
2
0
1
1
1
Executive
17,871
39
Company Invited
1
10
Salaried
Male
3
4
Basic
3
Divorced
5
0
3
1
2
Executive
21,499
32
Self Enquiry
1
16
Small Business
Male
1
3
Standard
3
Unmarried
3
0
1
0
0
Senior Manager
26,244
32
Self Enquiry
1
14
Small Business
Female
3
1
Deluxe
3
Divorced
6
0
3
1
2
Manager
20,175
37
Self Enquiry
3
7
Salaried
Female
4
4
Deluxe
3
Unmarried
8
0
1
1
2
Manager
25,493
37
Self Enquiry
3
9
Salaried
Male
4
4
Basic
3
Unmarried
5
1
3
0
1
Executive
21,322
36
Self Enquiry
1
8
Small Business
Male
3
3
Basic
3
Single
5
0
5
1
0
Executive
17,519
29
Company Invited
3
26
Large Business
Female
2
3
Basic
3
Divorced
2
0
3
0
1
Executive
17,157
37
Self Enquiry
3
12
Small Business
Male
3
3
Deluxe
3
Married
5
0
3
1
0
Manager
21,502
50
Self Enquiry
1
6
Small Business
Male
3
3
Super Deluxe
3
Married
1
0
5
0
2
AVP
32,399
59
Self Enquiry
3
6
Large Business
Male
3
3
Standard
3
Divorced
4
1
2
0
1
Senior Manager
26,904
39
Self Enquiry
2
9
Salaried
Female
2
2
Deluxe
4
Divorced
1
0
2
1
0
Manager
21,389
End of preview.

No dataset card yet

Downloads last month
10

Space using Cruise949/tourism-predict 1