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 21 missing columns ({'Occupation_Salaried', 'PreferredPropertyStar', 'TypeofContact_Self Enquiry', 'Occupation_Small Business', 'Gender_Male', 'Designation', 'Passport', 'DurationOfPitch', 'CityTier', 'Occupation_Large Business', 'ProductPitched', 'MaritalStatus_Single', 'NumberOfPersonVisiting', 'NumberOfChildrenVisiting', 'NumberOfTrips', 'Age', 'NumberOfFollowups', 'PitchSatisfactionScore', 'MaritalStatus_Married', 'MonthlyIncome', 'OwnCar'}).

This happened while the csv dataset builder was generating data using

hf://datasets/dararaje/Tourism_Package_Prediction/y_train.csv (at revision 2e6838002f94721995829113da6c5c40ed881e46), [/tmp/hf-datasets-cache/medium/datasets/13588938267147-config-parquet-and-info-dararaje-Tourism_Package_-81c17408/hub/datasets--dararaje--Tourism_Package_Prediction/snapshots/2e6838002f94721995829113da6c5c40ed881e46/x_train.csv (origin=hf://datasets/dararaje/Tourism_Package_Prediction@2e6838002f94721995829113da6c5c40ed881e46/x_train.csv), /tmp/hf-datasets-cache/medium/datasets/13588938267147-config-parquet-and-info-dararaje-Tourism_Package_-81c17408/hub/datasets--dararaje--Tourism_Package_Prediction/snapshots/2e6838002f94721995829113da6c5c40ed881e46/y_train.csv (origin=hf://datasets/dararaje/Tourism_Package_Prediction@2e6838002f94721995829113da6c5c40ed881e46/y_train.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
              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'), 'ProductPitched': Value('int64'), 'PreferredPropertyStar': Value('float64'), 'NumberOfTrips': Value('float64'), 'Passport': Value('int64'), 'PitchSatisfactionScore': Value('int64'), 'OwnCar': Value('int64'), 'NumberOfChildrenVisiting': Value('float64'), 'Designation': Value('int64'), 'MonthlyIncome': Value('float64'), 'TypeofContact_Self Enquiry': Value('int64'), 'Occupation_Large Business': Value('int64'), 'Occupation_Salaried': Value('int64'), 'Occupation_Small Business': Value('int64'), 'Gender_Male': Value('int64'), 'MaritalStatus_Married': Value('int64'), 'MaritalStatus_Single': 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 1 new columns ({'ProdTaken'}) and 21 missing columns ({'Occupation_Salaried', 'PreferredPropertyStar', 'TypeofContact_Self Enquiry', 'Occupation_Small Business', 'Gender_Male', 'Designation', 'Passport', 'DurationOfPitch', 'CityTier', 'Occupation_Large Business', 'ProductPitched', 'MaritalStatus_Single', 'NumberOfPersonVisiting', 'NumberOfChildrenVisiting', 'NumberOfTrips', 'Age', 'NumberOfFollowups', 'PitchSatisfactionScore', 'MaritalStatus_Married', 'MonthlyIncome', 'OwnCar'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/dararaje/Tourism_Package_Prediction/y_train.csv (at revision 2e6838002f94721995829113da6c5c40ed881e46), [/tmp/hf-datasets-cache/medium/datasets/13588938267147-config-parquet-and-info-dararaje-Tourism_Package_-81c17408/hub/datasets--dararaje--Tourism_Package_Prediction/snapshots/2e6838002f94721995829113da6c5c40ed881e46/x_train.csv (origin=hf://datasets/dararaje/Tourism_Package_Prediction@2e6838002f94721995829113da6c5c40ed881e46/x_train.csv), /tmp/hf-datasets-cache/medium/datasets/13588938267147-config-parquet-and-info-dararaje-Tourism_Package_-81c17408/hub/datasets--dararaje--Tourism_Package_Prediction/snapshots/2e6838002f94721995829113da6c5c40ed881e46/y_train.csv (origin=hf://datasets/dararaje/Tourism_Package_Prediction@2e6838002f94721995829113da6c5c40ed881e46/y_train.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
CityTier
int64
DurationOfPitch
float64
NumberOfPersonVisiting
int64
NumberOfFollowups
float64
ProductPitched
int64
PreferredPropertyStar
float64
NumberOfTrips
float64
Passport
int64
PitchSatisfactionScore
int64
OwnCar
int64
NumberOfChildrenVisiting
float64
Designation
int64
MonthlyIncome
float64
TypeofContact_Self Enquiry
int64
Occupation_Large Business
int64
Occupation_Salaried
int64
Occupation_Small Business
int64
Gender_Male
int64
MaritalStatus_Married
int64
MaritalStatus_Single
int64
45
1
30
4
4
3
4
6
0
3
0
2
2
20,720
0
0
0
1
1
1
0
31
3
29
4
4
2
5
2
0
2
1
1
3
27,090
0
0
1
0
0
0
0
32
1
14
3
4
3
5
3
0
1
1
1
2
22,984
1
0
0
1
0
1
0
50
3
6
3
3
5
3
4
0
1
1
0
5
34,517
1
0
0
1
0
1
0
43
1
9
3
5
1
5
2
1
4
1
1
1
21,271
1
0
0
1
0
1
0
28
1
13
3
5
1
3
3
0
2
1
2
1
21,217
1
0
1
0
1
0
0
36
3
8
3
4
2
3
2
0
2
1
0
3
22,596
1
0
0
1
1
0
0
44
1
16
2
3
3
3
3
1
3
0
1
2
21,465
1
0
1
0
1
1
0
55
1
24
3
3
3
4
4
1
5
1
1
2
21,385
0
0
0
1
1
1
0
36
2
15
4
4
1
3
3
0
5
0
2
1
23,001
1
1
0
0
1
0
1
33
1
9
3
4
3
4
6
0
4
1
2
2
23,561
1
0
0
1
1
1
0
35
3
11
4
4
3
3
2
0
1
0
1
2
25,216
0
0
0
1
0
1
0
34
1
15
4
4
3
3
4
1
3
0
3
2
25,066
1
0
1
0
1
0
1
39
1
6
3
3
1
3
1
0
3
1
0
1
17,232
1
0
0
1
0
1
0
31
1
6
2
3
1
4
2
0
3
1
0
1
17,501
1
0
0
1
1
0
1
32
1
10
4
4
2
3
2
0
4
1
3
3
32,353
0
0
0
1
1
1
0
42
3
18
3
3
3
3
4
1
1
0
0
2
20,087
1
0
0
1
1
1
0
34
3
17
3
5
3
3
5
0
3
1
2
2
23,360
0
0
0
1
1
0
1
38
3
16
4
4
2
4
3
0
2
1
1
3
27,512
0
0
0
1
1
1
0
43
1
25
3
4
3
5
8
1
1
0
1
2
24,088
1
0
1
0
1
1
0
60
1
9
4
5
4
3
5
1
5
0
3
4
32,404
1
0
1
0
0
0
1
25
3
10
4
4
3
3
2
0
2
1
1
2
23,255
1
0
1
0
0
0
1
50
1
23
2
4
2
5
6
0
3
1
0
3
28,269
1
0
1
0
0
1
0
39
1
15
3
5
3
4
3
1
1
1
1
2
20,811
0
0
0
1
0
1
0
52
1
13
3
4
5
3
2
0
5
1
2
5
38,215
1
0
1
0
1
0
1
31
1
17
2
3
1
3
4
1
3
1
1
1
17,356
1
0
1
0
1
0
0
27
1
13
3
5
1
4
3
0
3
1
1
1
21,046
1
0
1
0
0
0
0
37
1
13
3
6
1
3
3
0
2
0
1
1
21,419
1
0
1
0
1
1
0
48
3
16
3
6
4
3
2
0
5
1
2
4
31,614
0
0
1
0
1
1
0
37
3
8
3
3
3
3
5
1
3
0
2
2
24,602
1
0
0
1
1
1
0
39
2
8
2
4
3
3
1
0
3
0
0
2
20,204
1
0
1
0
0
0
0
46
1
27
3
3
3
4
5
0
3
1
2
2
23,926
1
0
0
1
0
1
0
31
3
13
2
4
1
3
4
0
4
1
1
1
17,329
1
0
1
0
1
0
0
33
3
31
2
4
2
4
3
1
5
1
0
3
23,380
1
0
0
1
1
0
1
28
1
7
4
4
2
5
3
0
4
1
3
3
26,090
1
0
1
0
0
0
0
38
1
16
2
5
2
3
4
0
1
1
1
3
28,206
1
0
0
1
0
1
0
60
1
10
3
2
1
5
6
1
1
0
2
1
21,348
1
0
0
1
0
1
0
37
3
9
4
4
1
3
5
1
3
0
1
1
21,322
1
0
1
0
1
0
1
31
3
19
3
4
3
3
2
0
1
1
2
2
25,255
1
1
0
0
0
0
1
36
1
7
4
4
1
5
6
0
2
0
2
1
20,872
0
0
0
1
1
0
0
33
1
31
2
4
1
4
5
1
4
0
0
1
17,313
1
0
0
1
1
0
1
28
3
30
3
5
3
3
3
0
1
1
2
2
22,218
1
0
0
1
0
1
0
19
1
15
4
4
1
3
3
0
5
0
1
1
20,582
0
0
0
1
1
0
1
25
1
36
4
4
1
5
3
0
4
1
2
1
22,585
1
0
0
1
1
1
0
37
1
25
3
3
1
3
6
0
5
0
1
1
22,366
0
0
1
0
1
0
0
35
1
29
2
4
3
3
4
1
4
1
1
2
20,916
1
0
1
0
1
0
0
59
1
9
4
5
2
3
2
0
5
0
1
3
21,050
1
1
0
0
0
1
0
30
1
28
2
3
1
3
5
1
2
0
1
1
17,132
1
0
1
0
0
0
0
39
1
6
3
3
1
3
1
0
3
0
1
1
17,232
1
0
0
1
0
1
0
35
3
14
3
4
2
3
5
1
5
1
2
3
25,377
0
0
0
1
0
0
0
28
1
24
3
4
1
4
2
1
4
0
1
1
21,736
1
1
0
0
1
1
0
49
3
14
2
4
4
4
7
0
4
1
0
4
28,120
1
1
0
0
1
0
0
37
1
11
3
3
3
3
1
0
3
1
2
2
21,347
1
0
0
1
1
1
0
40
1
29
3
4
2
5
3
1
5
1
2
3
29,558
0
0
0
1
0
0
1
48
1
16
4
4
1
3
6
0
3
1
1
1
20,783
1
0
1
0
0
0
1
41
1
9
3
5
1
3
2
1
3
0
1
1
21,020
1
0
0
1
0
0
1
26
3
10
4
4
3
5
3
1
4
1
1
2
22,872
1
0
1
0
1
0
0
26
2
26
3
3
1
4
1
1
3
0
1
1
17,148
1
0
0
1
0
1
0
33
1
9
4
4
1
3
2
0
5
1
2
1
21,746
0
0
1
0
1
0
1
35
1
9
4
4
3
3
4
0
4
1
3
2
22,711
0
0
1
0
1
0
1
32
1
15
3
3
3
3
2
1
5
1
2
2
21,322
1
0
1
0
0
0
0
37
1
19
3
5
2
3
2
0
1
1
1
3
27,536
1
0
0
1
0
0
1
46
1
36
3
4
2
3
6
1
5
1
1
3
28,058
1
1
0
0
1
0
0
31
3
13
2
4
1
3
4
0
4
1
1
1
17,329
1
0
1
0
1
1
0
32
3
6
3
4
1
4
1
0
1
0
2
1
17,269
1
0
0
1
1
1
0
45
1
15
4
2
1
3
4
1
3
1
1
1
21,496
1
0
1
0
1
1
0
25
3
11
2
4
3
3
2
1
3
0
1
2
20,744
1
0
0
1
1
0
1
53
1
10
3
5
2
3
4
1
1
1
1
3
26,647
1
0
0
1
1
1
0
49
1
11
4
5
2
3
2
0
5
1
1
3
29,677
1
0
1
0
1
0
1
38
3
9
2
3
3
3
1
1
3
1
1
2
21,861
1
0
1
0
1
0
1
39
3
11
2
3
3
3
4
0
2
0
1
2
17,086
1
1
0
0
1
0
0
41
3
23
4
4
2
3
4
0
5
0
2
3
22,222
1
0
0
1
1
1
0
34
1
22
3
4
1
3
2
0
5
1
1
1
17,553
0
0
1
0
0
0
1
33
1
6
3
3
2
3
2
1
1
1
0
3
28,458
0
0
1
0
0
0
1
49
1
24
2
4
5
3
2
1
3
1
0
5
34,502
1
0
1
0
1
1
0
32
1
11
2
1
1
3
4
0
5
1
1
1
18,312
1
0
1
0
0
1
0
32
1
36
4
5
1
4
2
0
3
1
3
1
22,157
0
0
0
1
1
0
1
39
1
36
4
4
3
5
2
1
3
0
2
2
25,351
1
0
0
1
1
0
0
54
2
32
1
1
4
3
3
1
3
1
0
4
32,328
0
0
1
0
0
0
1
45
1
31
3
4
1
3
5
1
5
0
2
1
21,839
0
0
1
0
1
1
0
32
3
20
3
4
3
5
4
0
1
0
2
2
22,911
1
0
0
1
1
1
0
32
3
11
2
3
3
4
2
0
3
1
1
2
21,524
0
0
1
0
1
0
0
35
1
9
3
5
3
3
3
0
4
0
2
2
28,225
0
0
1
0
1
1
0
29
1
16
3
4
1
5
7
1
5
1
1
1
17,404
1
0
1
0
0
0
1
31
1
10
3
4
1
5
7
1
4
1
2
1
21,335
1
1
0
0
0
0
1
41
1
11
2
1
3
4
4
0
5
1
0
2
21,870
1
0
1
0
1
0
1
46
1
14
3
4
1
3
6
1
3
0
2
1
23,155
1
0
0
1
0
1
0
57
3
18
3
5
3
5
6
0
5
0
2
2
24,058
1
0
0
1
0
1
0
43
1
26
3
3
1
3
8
1
3
1
2
1
21,437
0
0
0
1
1
1
0
49
1
14
2
3
2
4
5
0
4
0
1
3
22,403
1
0
1
0
0
1
0
60
3
22
2
3
3
5
1
0
4
1
1
2
20,405
1
0
0
1
1
0
1
30
3
16
3
4
3
3
2
0
2
1
0
2
21,578
1
0
0
1
1
0
0
37
1
13
1
3
2
3
5
0
2
0
0
3
28,664
1
0
0
1
1
0
1
38
1
10
3
4
2
3
3
0
2
1
1
3
28,112
1
0
1
0
1
0
0
42
3
11
2
3
5
3
7
0
4
0
1
5
33,303
1
0
0
1
1
1
0
59
1
30
3
4
1
3
3
0
3
1
2
1
21,050
1
0
1
0
1
1
0
38
1
21
3
4
2
3
1
1
5
1
2
3
26,510
1
0
1
0
1
1
0
51
3
8
2
3
2
4
3
0
4
0
0
3
25,596
0
0
0
1
1
0
0
32
1
14
3
1
3
3
6
0
3
1
2
2
20,175
1
0
0
1
0
0
0
46
3
33
4
4
3
5
4
0
1
0
3
2
22,964
0
0
1
0
0
1
0
End of preview.