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

This happened while the csv dataset builder was generating data using

hf://datasets/Disha252001/Tour_dataset/processed/y_train.csv (at revision 88e3f2f2dcd7fd5ed8c18029ace27ee6373949d4)

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
              {'Unnamed: 0': 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 1 new columns ({'ProdTaken'}) and 19 missing columns ({'MaritalStatus', 'TypeofContact', 'NumberOfTrips', 'PitchSatisfactionScore', 'Occupation', 'Age', 'MonthlyIncome', 'NumberOfFollowups', 'ProductPitched', 'NumberOfChildrenVisiting', 'NumberOfPersonVisiting', 'CityTier', 'Passport', 'PreferredPropertyStar', 'DurationOfPitch', 'OwnCar', 'Designation', 'Gender', 'Unnamed: 0'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Disha252001/Tour_dataset/processed/y_train.csv (at revision 88e3f2f2dcd7fd5ed8c18029ace27ee6373949d4)
              
              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
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
3,850
55
1
1
17
3
1
4
4
1
5
3
8
1
1
0
1
2
23,118
2,463
39
1
1
9
2
2
3
4
0
3
3
7
1
4
0
2
1
22,622
878
42
0
2
8
3
2
3
1
1
5
0
1
0
2
0
2
2
21,272
2,482
37
1
1
12
2
1
3
5
0
5
0
2
1
2
1
1
1
98,678
3,074
23
1
1
7
2
2
3
5
1
3
0
8
0
2
1
1
2
23,453
3,002
33
0
1
31
2
2
4
4
1
3
0
3
0
4
1
1
2
23,987
1,261
38
1
1
24
3
2
2
5
1
3
1
4
1
5
0
1
2
20,811
3,187
60
1
1
9
2
1
4
5
4
3
2
5
1
5
0
3
0
32,404
2,230
53
0
3
8
3
1
2
4
3
4
1
3
0
1
1
0
3
22,525
3,643
37
1
1
33
2
2
4
4
1
3
1
8
0
3
1
1
2
24,025
1,897
60
0
3
34
3
1
3
4
3
5
1
5
0
1
1
0
3
25,266
4,738
43
1
1
36
3
2
3
6
1
3
3
6
0
3
1
2
2
22,950
1,480
35
1
1
22
3
2
2
1
0
4
1
1
0
4
1
1
1
17,426
4,557
43
1
1
10
2
1
4
2
1
3
1
4
1
5
1
1
2
23,909
994
52
0
1
34
3
1
2
1
4
3
0
3
1
4
0
0
0
28,247
3,104
59
0
1
9
2
2
3
5
0
3
1
2
1
2
0
1
1
21,058
9
36
1
1
33
3
2
3
3
1
3
0
7
0
3
1
0
2
20,237
3,825
29
0
1
23
3
2
3
4
0
3
2
3
0
3
0
1
1
20,822
4,425
37
1
1
16
3
2
3
5
1
4
1
4
1
4
0
2
2
27,525
198
38
1
1
8
2
2
2
3
1
3
0
1
0
2
0
1
2
21,553
1,012
31
0
3
6
2
1
2
5
0
3
2
2
0
3
1
1
1
16,359
3,069
46
1
3
16
3
2
4
4
3
5
1
6
1
2
1
1
3
29,439
4,873
41
1
3
14
3
2
3
4
0
4
3
3
0
5
0
1
1
23,339
2,443
35
1
1
13
2
2
3
3
0
4
2
2
1
3
1
1
1
20,363
2,016
29
1
3
16
2
2
3
3
0
3
2
2
0
4
1
0
1
17,642
1,561
51
1
3
27
3
2
3
3
1
3
2
1
1
5
0
2
2
20,441
304
39
1
1
6
3
2
2
2
3
3
1
1
0
3
1
0
3
24,613
628
37
1
3
22
3
2
3
4
1
3
1
5
0
5
1
2
2
21,334
710
33
0
3
23
2
2
2
3
4
3
2
2
0
3
1
1
0
32,444
4,045
51
0
3
19
3
0
4
4
3
3
3
6
0
5
1
3
3
27,886
3,738
42
1
1
12
2
2
3
2
1
4
3
5
0
5
1
1
2
25,548
2,763
33
1
3
15
1
1
4
5
1
4
0
3
1
2
1
1
2
23,906
3,267
30
0
1
17
2
1
4
4
0
4
1
2
0
5
1
1
1
21,969
2,779
41
1
3
7
3
2
3
6
1
3
0
4
1
3
1
1
2
26,135
3,466
38
0
1
12
1
2
3
2
0
3
3
2
0
5
1
1
1
22,178
3,418
28
0
3
9
2
2
3
6
1
3
3
5
0
4
1
2
2
23,749
3,668
27
1
1
24
3
2
4
6
0
3
1
3
0
3
0
3
1
20,983
1,788
27
1
1
11
2
1
2
3
0
4
2
2
1
3
0
1
1
17,478
4,430
24
1
1
11
3
2
3
2
0
5
1
4
0
4
0
2
1
21,497
2,076
34
0
1
22
2
1
3
4
0
3
2
2
0
5
1
2
1
17,553
4,856
37
1
3
17
3
2
3
5
3
5
1
2
0
5
0
1
3
25,772
2,317
34
0
1
7
3
2
3
4
1
5
2
1
0
1
0
0
2
20,343
216
30
0
3
32
3
1
2
4
1
5
3
6
0
2
0
1
2
21,696
1,640
27
1
1
23
1
2
2
3
0
4
1
1
1
4
0
0
1
18,058
3,290
36
1
1
9
2
2
3
5
3
4
1
4
0
4
1
1
3
28,952
1,713
40
1
1
30
1
2
3
3
1
3
1
2
0
3
1
1
2
18,319
2,908
38
1
1
7
1
0
3
4
3
3
3
6
0
5
1
2
3
26,169
3,770
33
1
3
9
3
2
3
5
1
4
2
2
1
1
1
1
2
28,585
4,251
30
1
1
16
2
2
2
5
0
3
3
2
0
1
1
1
1
22,661
2,169
52
1
1
6
2
2
3
3
4
3
1
3
0
1
1
2
0
32,099
3,681
33
1
3
7
2
2
3
6
1
4
3
8
0
3
0
2
2
25,413
4,806
20
0
1
17
3
1
4
5
0
4
2
3
1
5
0
3
1
20,537
8
38
0
1
29
2
2
2
4
3
3
3
1
0
3
0
0
3
24,526
2,114
31
1
1
17
2
2
2
3
0
3
1
4
1
3
0
0
1
17,356
3,223
52
1
1
11
2
2
3
4
0
3
0
2
1
2
1
2
1
21,139
4,056
39
1
1
10
1
1
3
4
1
3
3
5
1
5
1
1
2
22,995
4,051
40
1
3
11
2
1
3
5
1
3
1
6
0
5
1
2
2
24,580
3,409
26
1
1
26
3
2
4
4
0
3
0
5
0
5
1
3
1
22,347
1,223
47
0
3
15
2
2
2
5
4
3
1
1
0
5
1
1
0
27,936
2,234
28
1
3
16
3
2
3
3
0
4
1
2
0
5
0
2
1
16,052
3,272
19
0
1
15
3
2
4
4
0
3
2
3
0
5
0
1
1
20,582
2,031
52
1
3
9
3
2
2
4
4
5
1
2
0
5
1
0
0
31,856
2,615
20
0
3
7
1
1
4
6
0
5
2
2
0
3
1
2
1
21,003
2,471
43
1
3
15
3
2
3
4
1
4
0
2
0
3
0
2
2
25,503
4,807
30
1
1
8
2
1
4
4
0
3
1
3
0
1
1
3
1
22,438
3,896
51
0
3
7
2
2
4
4
1
3
1
2
0
3
1
2
2
25,406
4,122
41
0
1
16
2
2
4
5
1
3
1
2
0
5
0
2
2
23,554
2,598
33
0
3
15
3
0
3
4
3
3
3
3
0
4
1
2
3
27,676
2,806
22
0
3
16
3
2
3
4
0
3
3
3
0
4
0
1
1
21,288
1,831
40
1
1
16
2
1
2
1
0
3
1
4
1
3
0
1
1
17,213
1,972
53
1
3
6
3
1
2
3
1
5
3
1
0
1
1
1
2
23,381
3,512
29
0
1
9
3
2
3
5
0
5
2
2
0
4
0
1
1
21,239
4,405
44
0
1
16
3
2
4
4
1
3
1
5
1
3
1
3
2
24,357
2,942
23
1
1
13
3
2
4
4
0
3
0
2
0
2
1
1
1
21,451
3,268
43
1
1
36
3
2
3
6
1
3
3
6
0
3
1
1
2
22,950
2,180
33
0
3
23
2
2
2
3
4
3
2
2
0
3
1
0
0
32,444
4,272
37
0
3
7
3
0
3
4
1
3
3
6
0
1
1
2
2
25,331
1,432
37
1
1
16
2
1
2
1
3
3
1
2
1
1
0
1
3
28,744
4,241
40
1
3
10
3
1
3
4
1
3
1
6
1
4
1
2
2
23,916
4,510
36
1
1
7
2
1
3
2
0
3
2
5
0
3
1
2
1
21,184
3,636
50
1
1
23
3
1
4
4
0
5
1
6
1
1
1
2
1
21,265
1,827
21
0
3
6
1
1
3
4
0
4
2
2
1
5
1
2
1
17,174
4,816
28
1
3
9
3
1
4
6
2
4
2
4
1
5
1
2
4
21,195
2,657
52
1
1
15
2
2
3
5
3
4
0
7
0
3
1
2
3
31,168
2,416
40
1
1
14
3
2
3
4
0
3
3
2
1
4
1
2
1
24,094
2,322
29
1
1
12
3
1
2
3
0
3
1
2
0
3
0
1
1
18,131
53
35
0
1
17
3
2
3
4
3
5
0
3
1
5
1
1
3
24,884
4,187
38
1
3
13
3
2
4
4
1
3
1
6
0
3
1
1
2
25,180
110
51
0
1
6
3
1
1
4
3
5
3
4
0
2
1
0
3
22,484
4,276
22
0
3
16
3
2
3
4
0
3
3
3
0
4
1
1
1
21,288
2,069
36
1
2
19
2
2
2
3
0
4
1
5
0
3
1
1
1
17,143
2,365
31
1
1
17
3
2
3
3
1
5
1
2
1
1
1
1
2
21,833
3,837
28
1
3
16
3
2
3
4
1
3
3
3
0
1
0
2
2
22,783
4,230
50
1
1
7
1
1
3
5
4
3
2
2
1
3
0
1
0
32,642
4,747
28
1
1
13
2
2
3
5
0
3
1
3
0
1
1
2
1
21,217
1,229
40
1
1
14
2
1
3
3
1
5
1
3
1
1
0
0
2
21,516
252
29
1
1
21
2
2
2
3
0
3
2
2
0
3
0
0
1
17,340
3,728
40
1
1
17
3
2
4
4
3
3
2
2
0
3
1
1
3
32,142
3,365
29
0
1
7
3
2
3
4
0
3
2
2
1
4
0
1
1
20,832
4,800
31
1
1
8
3
2
4
4
0
4
1
2
1
4
1
3
1
22,257
End of preview.

No dataset card yet

Downloads last month
-