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

This happened while the csv dataset builder was generating data using

hf://datasets/Kingston-Personal/tourism-project/tourism.csv (at revision c54800f69c52f406a3941b7354f16eac67768437)

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
              {'CustomerID': Value('int64'), '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')}
              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 2 new columns ({'Unnamed: 0', 'ProdTaken'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Kingston-Personal/tourism-project/tourism.csv (at revision c54800f69c52f406a3941b7354f16eac67768437)
              
              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.

CustomerID
int64
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
202,273
34
0
1
9
2
1
2
4
0
3
1
4
0
1
0
0
1
17,979
200,073
32
1
1
6
2
1
3
3
1
4
0
2
0
3
0
0
2
21,220
200,167
30
1
3
11
2
0
2
3
3
3
0
3
0
4
1
1
3
24,419
204,725
39
1
3
9
3
1
3
4
3
4
2
2
0
4
1
2
3
26,029
204,219
37
0
1
31
2
0
3
4
1
4
1
2
0
3
1
2
2
24,352
202,620
34
1
1
9
2
1
3
4
0
3
2
2
0
3
0
2
1
21,178
203,015
27
0
1
7
2
0
4
6
0
3
1
5
0
4
1
3
1
23,042
201,106
30
1
3
6
2
1
3
4
1
5
1
2
0
4
1
1
2
24,714
204,541
53
0
1
32
3
0
3
5
4
3
1
5
0
5
0
2
0
32,504
203,334
55
0
1
7
2
0
3
4
3
3
1
2
0
5
1
2
3
29,180
200,093
46
0
1
6
3
1
2
4
3
5
0
3
1
2
1
1
3
25,673
204,519
39
0
1
19
2
1
2
5
1
5
1
4
0
5
1
1
2
24,966
200,112
54
0
2
32
2
0
1
2
4
3
2
3
1
3
1
0
0
32,328
201,287
42
1
1
19
3
1
3
1
1
5
1
6
0
4
1
0
2
20,538
203,583
33
1
1
12
2
0
3
2
0
3
1
5
0
5
1
2
1
21,990
201,551
35
1
1
6
3
1
1
4
0
3
2
2
0
4
1
0
1
17,859
201,284
39
1
1
16
3
1
3
3
3
3
2
1
0
3
1
0
3
28,464
203,232
29
1
1
17
2
0
3
4
1
3
2
5
0
4
1
2
2
22,338
202,887
23
0
1
11
0
1
3
5
0
3
2
7
0
5
1
1
1
22,572
200,294
37
0
1
15
3
1
2
3
0
3
0
2
1
2
0
0
1
17,326
204,606
33
1
1
10
3
0
4
4
1
5
1
3
0
1
1
1
2
25,403
204,015
33
1
1
7
2
1
4
4
0
5
2
3
0
1
0
2
1
21,634
204,115
50
0
1
25
2
1
4
4
1
3
1
3
1
1
0
1
2
25,482
202,067
42
1
1
6
2
0
2
4
1
3
1
1
1
3
0
0
2
21,062
204,801
43
0
1
33
3
0
3
4
3
5
1
5
1
3
0
1
3
31,869
201,383
36
0
1
15
2
1
3
1
0
4
1
2
0
5
1
0
1
17,810
201,350
27
1
3
8
3
0
2
1
1
3
2
1
0
1
0
1
2
21,500
204,288
29
1
3
16
2
1
4
4
1
3
2
3
0
3
1
2
2
23,931
202,690
34
1
1
12
2
0
4
5
0
3
0
3
0
2
0
3
1
21,589
203,576
41
1
3
21
2
0
3
4
1
5
1
3
0
3
0
2
2
23,317
204,866
32
1
3
20
3
1
4
5
1
5
1
7
1
1
1
1
2
20,980
201,947
50
0
2
9
3
1
3
3
2
4
1
2
0
1
1
2
4
33,200
201,940
24
0
3
30
3
1
2
3
0
3
1
1
0
4
1
1
1
17,400
204,511
43
1
1
7
2
0
3
5
1
3
1
2
1
3
0
1
2
24,740
201,148
39
1
1
16
3
1
3
3
1
5
1
3
0
5
1
2
2
20,377
201,740
55
1
1
6
3
1
2
3
2
5
2
1
1
1
1
1
4
34,045
204,849
33
0
1
10
2
0
3
4
0
3
2
3
0
4
1
1
1
24,887
203,699
34
1
3
23
2
0
4
4
3
5
2
4
1
5
0
1
3
27,242
204,027
25
1
1
25
2
1
3
4
0
3
1
2
0
4
0
1
1
21,452
201,613
30
1
1
24
2
0
3
3
0
3
2
2
0
1
1
2
1
17,632
204,206
32
0
3
12
3
0
3
4
0
4
1
3
0
3
0
1
1
21,467
202,757
34
0
1
12
2
0
4
4
3
4
0
8
0
3
1
3
3
30,556
202,191
50
1
1
30
2
1
3
3
4
3
1
4
1
4
1
2
0
28,973
200,673
33
1
1
6
2
1
3
4
0
5
2
4
1
4
0
0
1
17,799
203,264
36
0
3
18
3
1
3
4
1
3
1
3
0
5
0
1
2
23,646
202,645
50
0
1
25
2
1
4
4
1
3
1
3
1
2
0
2
2
25,482
203,648
49
0
3
14
3
0
4
4
0
3
1
4
1
4
1
2
1
21,333
203,412
37
0
3
14
3
0
3
2
1
5
0
4
0
1
1
1
2
23,317
200,143
30
1
1
24
2
0
3
3
0
3
2
2
0
2
1
0
1
17,632
203,867
23
1
1
7
2
1
4
4
0
3
2
2
0
3
0
3
1
22,053
201,651
34
1
1
33
3
0
3
3
0
4
2
3
0
3
0
0
1
17,311
204,005
52
1
3
28
3
1
4
4
1
3
2
2
1
5
0
3
2
24,119
203,192
27
0
3
36
3
1
4
6
1
5
2
2
0
3
0
1
2
23,647
200,706
40
0
3
30
2
0
3
1
4
4
2
5
1
3
1
2
0
28,194
200,891
44
1
1
8
2
0
3
1
0
3
0
2
0
4
1
0
1
17,011
204,676
27
0
1
9
2
1
3
4
0
5
1
8
1
5
0
1
1
20,720
203,308
42
0
1
12
2
1
4
5
0
5
1
8
0
3
1
1
1
20,785
202,939
28
1
3
9
3
1
3
4
0
5
1
2
0
5
0
2
1
21,719
204,588
59
1
1
12
0
0
3
5
3
4
1
4
1
5
1
2
3
29,230
203,430
40
1
3
28
2
1
3
5
1
3
0
5
1
1
0
2
2
24,798
203,767
29
0
2
7
2
1
3
4
0
3
1
3
0
4
0
2
1
21,384
203,004
35
1
1
15
2
0
3
4
1
5
1
5
0
5
1
1
2
23,799
201,039
34
1
2
15
0
0
2
3
0
3
0
2
0
1
1
0
1
17,742
201,018
36
1
1
10
2
1
2
4
1
3
2
2
0
5
1
1
2
20,810
200,147
41
0
1
16
2
1
3
4
4
5
1
5
0
2
1
0
0
32,181
201,563
46
0
1
6
3
1
2
4
3
5
1
3
1
1
1
1
3
25,673
202,904
27
1
3
36
3
1
3
4
1
3
1
7
0
5
1
1
2
22,984
204,732
32
0
3
27
2
1
4
2
0
3
1
2
0
5
1
1
1
21,469
203,961
38
1
1
26
2
1
4
4
0
4
1
6
0
4
0
2
1
21,700
204,035
34
0
3
29
3
1
4
4
1
4
1
2
0
1
0
1
2
24,824
200,962
51
1
2
11
2
1
2
3
4
4
1
2
1
3
1
1
0
29,026
200,553
40
1
1
8
3
0
2
4
0
3
2
1
1
3
1
1
1
17,342
201,845
49
1
1
13
2
1
2
4
3
3
2
1
0
1
1
0
3
25,965
203,765
48
1
1
16
2
0
4
4
0
3
2
6
0
3
1
1
1
20,783
201,724
29
1
3
26
3
1
2
3
1
3
1
3
0
1
1
0
2
21,931
204,384
25
0
3
31
3
1
3
4
0
3
1
2
0
4
1
2
1
21,078
202,340
35
1
3
23
2
1
3
3
1
5
1
4
1
3
0
2
2
23,966
204,257
30
1
3
17
3
0
3
5
1
4
1
3
1
5
1
1
2
26,946
201,662
35
1
1
29
2
1
2
4
1
3
1
4
1
4
1
0
2
20,916
201,847
36
1
1
8
2
0
3
3
0
3
1
5
0
5
1
0
1
17,543
201,126
50
1
3
5
3
1
2
3
2
3
1
5
1
5
0
1
4
34,331
204,689
44
1
3
32
3
1
4
5
3
3
1
7
0
4
1
2
3
29,476
200,811
38
1
3
8
3
1
2
3
3
4
2
1
0
4
1
0
3
22,351
203,624
37
1
1
14
2
1
4
4
0
4
2
4
0
1
0
3
1
20,691
202,754
32
1
2
9
2
1
4
5
1
5
0
5
0
3
0
2
2
25,088
202,890
42
0
3
17
2
1
3
4
1
3
2
2
0
2
0
2
2
24,908
200,523
50
1
1
34
3
1
3
2
0
3
0
2
1
2
1
2
1
18,221
204,393
25
0
1
14
2
0
3
4
0
3
1
3
1
4
0
1
1
21,564
200,853
19
1
1
15
2
1
2
3
0
5
2
2
0
3
0
0
1
17,552
204,598
41
1
3
17
3
1
4
5
3
4
1
4
0
4
0
1
3
28,383
202,909
47
0
1
25
3
0
3
4
3
3
0
7
0
3
1
1
3
29,205
203,123
32
0
3
27
3
0
3
4
1
3
0
3
0
2
1
1
2
25,610
200,750
44
1
3
34
3
0
2
1
4
3
0
4
1
2
1
1
0
28,320
202,983
51
1
3
15
3
1
3
4
0
4
0
2
0
2
1
1
1
22,553
202,325
37
1
1
7
2
0
2
4
1
3
1
2
0
1
0
0
2
21,474
203,552
36
1
1
7
3
1
4
5
0
5
2
3
0
1
0
3
1
21,128
202,780
30
1
1
15
2
1
4
6
0
5
0
3
1
3
1
2
1
20,797
204,586
43
1
3
21
3
0
4
5
1
3
2
2
0
3
1
1
2
24,922
204,234
28
1
3
9
2
1
4
4
1
3
2
3
1
4
0
2
2
23,156
204,176
33
1
1
9
0
1
3
5
1
5
2
6
0
4
0
2
2
20,854
End of preview.

No dataset card yet

Downloads last month
8

Space using Kingston-Personal/tourism-project 1