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 ({'ProdTaken', 'CustomerID'})

This happened while the csv dataset builder was generating data using

hf://datasets/muthukumar22/Tourism-Package-Predict/tourism.csv (at revision 24bea0c1b90a62570abedcaae68048810b9323cb), [/tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/Xtest.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/Xtrain.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/tourism.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/tourism.csv), /tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/ytest.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/ytrain.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/ytrain.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
              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
              {'Unnamed: 0': Value('float64'), 'Age': Value('float64'), 'CityTier': Value('float64'), 'DurationOfPitch': Value('float64'), 'NumberOfPersonVisiting': Value('float64'), 'NumberOfFollowups': Value('float64'), 'PreferredPropertyStar': Value('float64'), 'NumberOfTrips': Value('float64'), 'Passport': Value('float64'), 'PitchSatisfactionScore': Value('float64'), 'OwnCar': Value('float64'), 'NumberOfChildrenVisiting': Value('float64'), 'MonthlyIncome': Value('float64'), 'TypeofContact': Value('float64'), 'Occupation': Value('float64'), 'Gender': Value('float64'), 'ProductPitched': Value('float64'), 'MaritalStatus': Value('float64'), 'Designation': 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 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 ({'ProdTaken', 'CustomerID'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/muthukumar22/Tourism-Package-Predict/tourism.csv (at revision 24bea0c1b90a62570abedcaae68048810b9323cb), [/tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/Xtest.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/Xtest.csv), /tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/Xtrain.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/Xtrain.csv), /tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/tourism.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/tourism.csv), /tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/ytest.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/ytest.csv), /tmp/hf-datasets-cache/medium/datasets/88827807721590-config-parquet-and-info-muthukumar22-Tourism-Pack-907c972c/hub/datasets--muthukumar22--Tourism-Package-Predict/snapshots/24bea0c1b90a62570abedcaae68048810b9323cb/ytrain.csv (origin=hf://datasets/muthukumar22/Tourism-Package-Predict@24bea0c1b90a62570abedcaae68048810b9323cb/ytrain.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.

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