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

This happened while the csv dataset builder was generating data using

hf://datasets/dvsreddy/tourism-package-dataset/processed/y_train.csv (at revision 78a7df0200baee8a1938d866fcc4f9475ccf7f43), [/tmp/hf-datasets-cache/medium/datasets/24499545020617-config-parquet-and-info-dvsreddy-tourism-package--e92bc9bc/hub/datasets--dvsreddy--tourism-package-dataset/snapshots/78a7df0200baee8a1938d866fcc4f9475ccf7f43/processed/X_train.csv (origin=hf://datasets/dvsreddy/tourism-package-dataset@78a7df0200baee8a1938d866fcc4f9475ccf7f43/processed/X_train.csv), /tmp/hf-datasets-cache/medium/datasets/24499545020617-config-parquet-and-info-dvsreddy-tourism-package--e92bc9bc/hub/datasets--dvsreddy--tourism-package-dataset/snapshots/78a7df0200baee8a1938d866fcc4f9475ccf7f43/processed/y_train.csv (origin=hf://datasets/dvsreddy/tourism-package-dataset@78a7df0200baee8a1938d866fcc4f9475ccf7f43/processed/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 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, 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 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 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, 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 1802, 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 ({'NumberOfTrips', 'NumberOfFollowups', 'DurationOfPitch', 'Gender', 'TypeofContact', 'MaritalStatus', 'NumberOfChildrenVisiting', 'NumberOfPersonVisiting', 'Occupation', 'OwnCar', 'Unnamed: 0', 'MonthlyIncome', 'PreferredPropertyStar', 'Age', 'PitchSatisfactionScore', 'CityTier', 'Designation', 'ProductPitched', 'Passport'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/dvsreddy/tourism-package-dataset/processed/y_train.csv (at revision 78a7df0200baee8a1938d866fcc4f9475ccf7f43), [/tmp/hf-datasets-cache/medium/datasets/24499545020617-config-parquet-and-info-dvsreddy-tourism-package--e92bc9bc/hub/datasets--dvsreddy--tourism-package-dataset/snapshots/78a7df0200baee8a1938d866fcc4f9475ccf7f43/processed/X_train.csv (origin=hf://datasets/dvsreddy/tourism-package-dataset@78a7df0200baee8a1938d866fcc4f9475ccf7f43/processed/X_train.csv), /tmp/hf-datasets-cache/medium/datasets/24499545020617-config-parquet-and-info-dvsreddy-tourism-package--e92bc9bc/hub/datasets--dvsreddy--tourism-package-dataset/snapshots/78a7df0200baee8a1938d866fcc4f9475ccf7f43/processed/y_train.csv (origin=hf://datasets/dvsreddy/tourism-package-dataset@78a7df0200baee8a1938d866fcc4f9475ccf7f43/processed/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.

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
1,249
29
1
3
15
3
1
2
5
0
4
2
2
0
1
1
1
1
17,760
3,230
28
0
1
15
2
2
3
6
0
3
0
3
0
2
1
2
1
23,299
791
35
1
3
10
1
2
2
3
3
5
3
1
1
4
1
1
3
24,582
1,190
32
1
1
8
3
2
2
3
1
4
1
1
0
4
0
1
2
20,470
3,788
38
1
1
14
3
2
4
4
1
5
1
7
1
3
0
1
2
22,962
753
39
0
1
28
3
0
2
3
3
5
3
2
1
5
1
0
3
25,880
1,281
35
1
3
33
2
2
2
3
1
3
2
2
1
5
0
0
2
20,813
325
31
0
1
13
2
1
2
4
3
3
0
2
0
2
1
1
3
23,943
3,848
43
0
1
30
2
2
3
5
1
3
3
3
0
3
1
2
2
23,010
1,387
29
1
1
6
2
2
2
3
1
5
1
1
0
3
1
0
2
20,373
2,164
33
1
1
6
2
1
2
4
1
3
3
1
0
4
1
1
2
21,949
4,358
49
1
3
9
3
1
3
4
1
3
1
4
0
5
1
1
2
22,729
1,518
46
0
3
11
3
2
3
3
1
3
2
5
1
5
1
1
2
20,772
4,581
42
1
1
9
2
1
3
6
0
3
1
6
1
3
0
2
1
21,456
4,310
44
1
1
15
2
1
4
4
1
3
1
6
1
1
1
1
2
23,200
887
42
0
1
32
3
1
2
3
3
5
0
4
1
3
0
1
3
28,191
235
43
1
3
22
3
1
3
3
4
3
0
6
1
3
0
1
0
31,064
616
51
1
3
32
3
1
3
3
4
3
0
3
0
3
0
1
0
31,307
3,829
35
1
3
20
3
2
3
4
3
3
1
3
0
1
1
2
3
27,306
549
34
1
1
14
3
1
3
3
1
3
2
4
0
4
1
1
2
21,142
2,829
31
0
1
11
1
2
3
4
0
3
2
20
1
4
1
2
1
20,963
707
47
0
1
22
3
2
3
1
1
3
1
2
1
2
0
0
2
20,067
1,342
34
1
3
10
2
2
3
3
3
3
1
3
1
4
0
2
3
24,713
1,853
22
1
1
17
3
1
2
3
0
4
1
2
0
1
1
1
1
17,244
393
34
0
3
10
3
1
3
3
1
3
0
1
0
2
1
0
2
21,538
3,303
30
1
1
22
2
1
4
6
0
3
0
2
1
5
1
1
1
20,846
2,793
30
0
3
9
2
2
4
4
1
3
0
3
0
2
1
2
2
23,327
2,920
25
1
1
24
2
2
4
5
0
4
0
3
0
3
1
2
1
20,805
1,501
44
1
1
16
2
2
2
3
1
3
1
3
1
3
0
1
2
21,465
2,405
32
0
1
9
2
1
2
3
0
3
2
2
0
4
1
0
1
21,209
992
39
0
1
31
2
2
3
3
3
3
0
4
0
1
0
0
3
25,920
2,204
22
1
1
14
2
2
3
5
0
5
1
2
0
1
0
1
1
17,451
3,375
31
0
1
16
3
1
4
4
1
3
3
2
1
3
1
3
2
23,373
3,676
36
1
1
34
2
2
3
4
1
3
1
4
0
5
0
2
2
25,561
4,766
30
1
1
13
3
1
3
4
0
3
1
3
0
3
0
2
1
21,809
3,980
37
0
1
18
2
2
4
5
1
4
3
3
0
4
1
2
2
25,177
428
47
1
1
8
3
1
3
3
1
3
1
6
0
2
0
1
2
20,070
2,703
32
0
1
36
3
2
4
5
0
4
3
2
0
3
1
3
1
22,157
1,439
36
1
3
9
3
1
3
4
3
3
1
1
0
3
1
0
3
22,644
4,863
40
1
3
14
2
2
4
4
0
3
1
3
1
1
1
3
1
23,212
4,303
38
1
1
17
2
2
3
4
1
4
3
4
1
5
0
2
2
22,875
3,836
36
1
3
14
2
1
3
4
1
3
1
3
1
4
1
2
2
23,882
2,876
35
1
1
9
2
2
4
5
0
3
1
5
0
5
1
1
1
21,446
3,778
28
0
1
22
2
1
4
5
0
5
1
2
0
4
1
1
1
23,452
1,083
40
1
1
15
2
2
2
3
0
5
2
4
0
1
1
1
1
17,018
4,494
36
1
3
15
2
1
4
4
0
3
1
3
0
3
1
3
1
21,250
1,851
30
1
3
8
1
2
3
3
0
4
1
2
0
3
1
0
1
17,476
1,523
35
0
1
17
3
2
3
4
3
5
1
3
1
5
1
2
3
24,884
366
41
0
3
10
3
2
2
3
1
4
3
2
0
3
1
0
2
24,355
1,057
29
0
3
19
1
1
2
3
1
4
2
6
0
3
0
1
2
20,765
3,899
41
1
1
9
2
2
3
5
0
3
3
4
0
5
0
2
1
21,487
3,772
28
1
3
30
3
1
3
5
1
3
1
3
0
1
1
2
2
22,218
3,514
29
0
3
14
2
2
3
4
1
5
3
2
0
3
1
2
2
23,576
2,157
36
1
1
8
3
2
3
3
0
3
2
5
0
5
1
1
1
17,519
2,441
51
1
3
16
2
1
3
3
3
4
1
6
0
1
1
2
3
28,142
499
33
1
3
14
3
2
2
3
1
3
1
1
0
2
1
1
2
22,104
677
49
1
1
14
2
1
2
3
3
4
0
5
0
4
0
0
3
22,403
4,715
51
0
3
7
2
2
3
4
1
3
3
5
1
1
1
2
2
23,406
3,824
36
1
3
25
3
2
4
4
1
5
1
2
0
3
0
1
2
20,822
2,828
37
1
3
9
3
2
4
5
3
3
0
3
0
2
1
1
3
26,274
2,376
34
1
1
13
2
2
3
3
1
3
1
2
0
3
0
0
2
17,585
2,374
48
1
1
21
3
1
3
3
3
3
1
2
0
3
0
0
3
33,265
4,471
36
0
1
9
2
1
4
4
1
5
1
4
0
4
1
3
2
23,771
4,197
56
1
1
27
1
2
3
4
1
3
1
5
1
1
0
1
2
24,093
552
56
1
1
15
3
2
2
3
4
3
0
1
0
4
0
0
0
26,103
3,317
37
1
1
13
2
2
3
6
0
3
1
3
0
2
0
1
1
21,419
2,951
30
1
3
10
3
1
4
4
1
3
0
3
0
2
0
1
2
24,239
448
40
1
1
12
2
0
3
3
4
3
3
1
0
5
1
2
0
28,237
2,810
42
0
3
11
3
2
3
4
1
4
3
3
0
3
1
1
2
28,033
3,687
46
1
2
11
2
1
3
6
3
3
1
6
0
1
1
2
3
28,434
1,317
27
0
1
11
2
1
2
3
0
3
2
1
1
1
1
1
1
17,379
4,513
37
1
2
20
2
2
3
4
0
4
1
6
0
3
1
2
1
20,821
4,394
31
0
3
19
2
2
4
5
0
5
1
3
0
5
1
3
1
20,711
754
33
0
3
14
2
1
2
4
0
3
2
1
0
2
1
1
1
17,342
1,279
44
0
1
6
3
2
2
3
0
4
1
2
1
3
1
1
1
17,342
1,176
49
1
1
28
2
1
3
3
4
4
1
4
0
4
0
1
0
31,413
2,453
37
1
1
34
3
2
4
4
1
3
0
8
0
3
1
1
2
23,915
1,320
42
0
1
16
1
2
2
3
0
3
1
4
0
4
1
0
1
17,936
4,077
58
1
1
31
2
2
3
2
3
3
1
5
1
4
1
1
3
28,117
1,189
33
1
3
8
3
2
3
3
1
3
1
2
0
3
1
1
2
20,505
4,302
43
1
1
7
2
1
4
4
0
5
1
5
0
3
0
3
1
21,254
3,909
37
0
1
30
3
2
3
2
1
3
1
6
0
3
0
1
2
21,249
3,138
34
1
1
7
2
0
3
5
1
3
3
2
0
4
0
1
2
25,627
356
42
1
1
8
2
2
3
4
1
3
3
4
0
2
0
1
2
21,781
2,685
33
0
3
33
3
2
4
4
1
3
0
2
0
4
1
3
2
23,143
2,154
40
1
3
16
3
2
3
4
3
4
1
3
0
4
0
0
3
24,705
4,712
34
1
1
32
3
2
3
5
0
4
2
6
1
4
1
1
1
20,991
926
43
1
3
10
3
0
2
4
3
3
3
4
0
3
1
0
3
25,231
1,483
34
1
1
25
3
2
3
3
0
3
1
1
0
3
0
0
1
17,661
1,204
48
0
3
13
3
1
3
3
0
3
1
3
1
4
1
1
1
17,655
1,409
40
0
1
17
1
1
3
3
1
3
1
2
0
3
1
1
2
21,323
1,599
49
1
1
26
3
1
3
3
1
5
1
2
0
1
1
0
2
21,567
330
43
0
1
16
2
1
2
4
1
3
1
2
0
3
0
0
2
20,257
4,864
32
1
2
29
2
2
3
6
0
3
1
3
0
1
0
2
1
28,530
4,791
47
1
1
9
1
2
3
4
1
3
1
4
0
1
0
1
2
26,057
4,828
56
0
3
9
2
1
3
5
0
3
2
2
0
5
0
1
1
32,255
2,003
40
0
3
11
2
2
2
4
3
5
1
6
1
5
0
0
3
25,475
4,817
30
0
1
17
2
0
3
5
0
3
3
3
0
4
1
1
1
25,301
2,491
38
1
1
26
2
2
4
4
0
4
0
6
0
4
1
2
1
21,700
4,599
27
0
3
7
3
2
3
5
1
5
3
3
0
3
0
1
2
22,972
End of preview.

No dataset card yet

Downloads last month
6