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 2 new columns ({'CustomerID', 'IncomeCategory'}) and 1 missing columns ({'IncomeGroup'}).

This happened while the csv dataset builder was generating data using

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

No dataset card yet

Downloads last month
10