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

This happened while the csv dataset builder was generating data using

hf://datasets/Sraja0310/Tourism-MLops/tourism.csv (at revision 826fe524994afb49e1537efebd1926430136db4d)

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
              {'Age': Value('float64'), 'NumberOfPersonVisiting': Value('int64'), 'PreferredPropertyStar': Value('float64'), 'NumberOfTrips': Value('float64'), 'Passport': Value('int64'), 'OwnCar': Value('int64'), 'NumberOfChildrenVisiting': Value('float64'), 'MonthlyIncome': Value('float64'), 'DurationOfPitch': Value('float64'), 'TypeofContact': Value('string'), 'CityTier': Value('int64'), 'Occupation': Value('string'), 'Gender': Value('string'), 'MaritalStatus': Value('string'), 'Designation': Value('string'), 'ProductPitched': Value('string'), 'PitchSatisfactionScore': Value('int64'), 'NumberOfFollowups': 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 3 new columns ({'CustomerID', 'ProdTaken', 'Unnamed: 0'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Sraja0310/Tourism-MLops/tourism.csv (at revision 826fe524994afb49e1537efebd1926430136db4d)
              
              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
NumberOfPersonVisiting
int64
PreferredPropertyStar
float64
NumberOfTrips
float64
Passport
int64
OwnCar
int64
NumberOfChildrenVisiting
float64
MonthlyIncome
float64
DurationOfPitch
float64
TypeofContact
string
CityTier
int64
Occupation
string
Gender
string
MaritalStatus
string
Designation
string
ProductPitched
string
PitchSatisfactionScore
int64
NumberOfFollowups
float64
44
3
3
2
1
1
0
22,879
8
Self Enquiry
1
Salaried
Female
Married
Senior Manager
Standard
4
1
35
3
3
3
0
1
2
27,306
20
Self Enquiry
3
Small Business
Male
Married
Senior Manager
Standard
1
4
47
4
5
3
0
1
2
29,131
7
Self Enquiry
3
Small Business
Female
Married
Senior Manager
Standard
2
4
32
3
4
2
0
1
0
21,220
6
Self Enquiry
1
Salaried
Male
Married
Manager
Deluxe
3
3
59
3
3
6
0
1
2
21,157
9
Self Enquiry
1
Large Business
Male
Single
Executive
Basic
2
4
44
2
4
1
0
1
1
33,213
11
Self Enquiry
3
Small Business
Male
Divorced
VP
King
5
3
32
2
4
2
0
1
0
17,837
35
Self Enquiry
1
Salaried
Female
Single
Executive
Basic
3
4
27
3
3
3
0
0
2
23,974
7
Self Enquiry
3
Salaried
Male
Married
Manager
Deluxe
5
4
38
2
3
4
0
1
1
20,249
8
Company Invited
3
Salaried
Male
Divorced
Manager
Deluxe
5
4
32
3
3
2
1
1
1
23,499
12
Self Enquiry
1
Large Business
Male
Married
Executive
Basic
4
4
40
3
3
2
0
1
1
18,319
30
Self Enquiry
1
Large Business
Male
Married
Manager
Deluxe
3
3
38
3
3
3
0
0
1
22,963
20
Self Enquiry
1
Small Business
Male
Married
Manager
Deluxe
1
4
35
3
3
2
0
1
0
23,789
6
Company Invited
3
Small Business
Fe Male
Unmarried
Senior Manager
Standard
5
3
35
3
5
2
1
1
1
17,074
8
Self Enquiry
1
Salaried
Female
Married
Executive
Basic
1
3
34
3
3
2
0
0
1
22,086
17
Self Enquiry
1
Small Business
Male
Married
Executive
Basic
5
6
33
3
4
3
0
1
1
21,515
36
Self Enquiry
1
Salaried
Female
Unmarried
Executive
Basic
3
5
51
3
3
4
0
1
0
17,075
15
Self Enquiry
1
Salaried
Male
Divorced
Executive
Basic
3
3
29
2
5
2
0
1
1
16,091
30
Company Invited
3
Large Business
Male
Single
Executive
Basic
3
1
34
3
3
1
1
1
2
20,304
25
Company Invited
3
Small Business
Male
Single
Manager
Deluxe
2
2
38
2
3
6
0
0
1
32,342
14
Self Enquiry
1
Small Business
Male
Single
Senior Manager
Standard
2
4
46
3
5
1
0
0
0
24,396
6
Self Enquiry
1
Small Business
Male
Married
Senior Manager
Standard
2
3
54
2
4
3
0
1
0
25,725
25
Self Enquiry
2
Small Business
Male
Divorced
Senior Manager
Standard
3
3
56
2
3
1
0
0
0
26,103
15
Self Enquiry
1
Small Business
Male
Married
AVP
Super Deluxe
4
3
30
2
3
19
1
1
1
17,285
10
Company Invited
1
Large Business
Male
Single
Executive
Basic
4
3
26
3
5
1
0
1
2
17,867
6
Self Enquiry
1
Small Business
Male
Single
Executive
Basic
5
3
33
2
3
1
0
1
0
26,691
13
Self Enquiry
1
Small Business
Male
Married
Senior Manager
Standard
4
3
24
3
4
2
0
1
1
17,127
23
Self Enquiry
1
Salaried
Male
Married
Executive
Basic
3
4
30
4
3
2
0
1
3
25,062
36
Self Enquiry
1
Salaried
Male
Married
Manager
Deluxe
5
6
33
3
4
1
0
0
0
20,147
8
Company Invited
3
Small Business
Female
Single
Manager
Deluxe
1
3
53
2
4
3
0
1
0
22,525
8
Company Invited
3
Small Business
Female
Married
Senior Manager
Standard
1
4
29
3
5
2
0
1
2
23,576
14
Company Invited
3
Salaried
Male
Unmarried
Manager
Deluxe
3
4
39
2
5
2
0
1
0
20,151
15
Self Enquiry
1
Small Business
Male
Married
Manager
Deluxe
4
3
46
4
4
2
0
1
3
23,483
9
Self Enquiry
3
Salaried
Male
Married
Manager
Deluxe
5
4
35
3
4
2
0
1
1
30,672
14
Self Enquiry
1
Salaried
Female
Single
Senior Manager
Standard
3
4
35
4
3
8
0
0
1
20,909
9
Company Invited
3
Small Business
Female
Married
Executive
Basic
5
4
33
4
4
8
0
0
3
21,010
7
Company Invited
1
Salaried
Female
Married
Executive
Basic
3
5
29
2
3
2
0
1
0
21,623
16
Company Invited
1
Salaried
Female
Unmarried
Executive
Basic
4
4
41
2
3
1
0
0
1
21,230
16
Company Invited
3
Salaried
Male
Single
Manager
Deluxe
1
3
43
3
3
6
0
1
1
22,950
36
Self Enquiry
1
Small Business
Male
Unmarried
Manager
Deluxe
3
6
35
3
3
2
0
0
2
21,029
13
Company Invited
3
Small Business
Female
Married
Executive
Basic
4
6
41
3
3
4
1
0
0
28,591
12
Self Enquiry
3
Salaried
Female
Single
Senior Manager
Standard
1
3
33
2
3
1
0
0
0
21,949
6
Self Enquiry
1
Salaried
Female
Unmarried
Manager
Deluxe
4
4
40
2
3
1
0
0
0
28,499
15
Company Invited
1
Small Business
Fe Male
Unmarried
Senior Manager
Standard
4
3
26
3
5
1
0
0
1
18,102
9
Company Invited
1
Large Business
Male
Single
Executive
Basic
3
3
41
2
5
3
0
0
0
18,072
25
Self Enquiry
1
Salaried
Male
Married
Manager
Deluxe
1
3
37
2
3
2
1
0
1
27,185
17
Company Invited
1
Salaried
Male
Married
Senior Manager
Standard
3
3
31
2
3
4
0
1
1
17,329
13
Self Enquiry
3
Salaried
Male
Married
Executive
Basic
4
4
45
3
4
8
0
0
2
21,040
8
Self Enquiry
3
Salaried
Male
Single
Manager
Deluxe
3
6
33
3
5
2
1
1
2
18,348
9
Company Invited
1
Salaried
Male
Single
Executive
Basic
5
3
33
4
4
3
0
0
1
21,048
9
Self Enquiry
1
Small Business
Female
Divorced
Executive
Basic
4
4
33
3
3
3
1
0
2
21,388
14
Self Enquiry
1
Salaried
Male
Unmarried
Manager
Deluxe
3
3
30
2
3
1
0
1
0
21,577
18
Self Enquiry
3
Large Business
Female
Unmarried
Manager
Deluxe
2
3
42
2
3
7
1
1
1
17,759
25
Company Invited
1
Small Business
Male
Married
Executive
Basic
3
2
46
2
3
7
0
1
0
32,861
8
Self Enquiry
1
Salaried
Male
Married
AVP
Super Deluxe
5
3
51
4
3
6
0
1
3
21,058
16
Self Enquiry
1
Salaried
Male
Married
Executive
Basic
5
4
30
2
3
3
0
1
0
21,091
8
Self Enquiry
1
Salaried
Female
Single
Manager
Deluxe
1
5
37
3
3
6
0
0
1
22,366
25
Company Invited
1
Salaried
Male
Divorced
Executive
Basic
5
3
28
2
3
2
0
0
1
17,706
6
Company Invited
2
Salaried
Male
Married
Executive
Basic
4
3
42
2
5
1
0
1
0
28,348
12
Self Enquiry
1
Small Business
Male
Married
Senior Manager
Standard
3
3
44
2
4
1
0
1
0
20,933
10
Self Enquiry
1
Small Business
Male
Single
Manager
Deluxe
2
3
39
3
4
3
0
1
1
21,118
9
Company Invited
1
Small Business
Female
Single
Executive
Basic
1
5
42
2
5
4
1
0
0
21,545
23
Self Enquiry
1
Salaried
Female
Unmarried
Manager
Deluxe
2
2
39
2
5
2
1
1
1
25,880
28
Company Invited
1
Small Business
Fe Male
Unmarried
Senior Manager
Standard
5
3
28
2
3
1
0
1
0
21,674
6
Company Invited
1
Salaried
Female
Divorced
Manager
Deluxe
3
5
43
3
5
7
0
1
1
32,159
20
Self Enquiry
1
Salaried
Male
Married
AVP
Super Deluxe
5
3
45
4
3
3
0
0
2
26,656
22
Self Enquiry
1
Small Business
Female
Divorced
Senior Manager
Standard
3
4
53
4
5
5
1
1
2
24,255
13
Self Enquiry
1
Large Business
Male
Married
Manager
Deluxe
4
4
42
4
5
4
0
0
1
20,916
16
Self Enquiry
1
Salaried
Male
Married
Executive
Basic
1
4
36
3
3
7
0
1
0
20,237
33
Self Enquiry
1
Small Business
Male
Divorced
Manager
Deluxe
3
3
22
4
4
3
1
0
3
20,748
7
Self Enquiry
1
Large Business
Female
Single
Executive
Basic
5
5
37
4
4
2
0
0
3
24,592
12
Self Enquiry
1
Salaried
Male
Unmarried
Manager
Deluxe
2
4
30
3
4
7
0
0
2
24,443
20
Company Invited
3
Large Business
Fe Male
Unmarried
Manager
Deluxe
3
4
36
4
5
4
1
1
3
28,562
18
Company Invited
1
Small Business
Male
Married
Senior Manager
Standard
5
5
40
2
3
2
0
0
1
34,033
10
Self Enquiry
1
Small Business
Female
Divorced
VP
King
5
3
51
2
3
3
0
0
1
25,650
14
Company Invited
1
Salaried
Male
Unmarried
Senior Manager
Standard
2
5
39
3
5
6
0
0
2
21,536
7
Self Enquiry
3
Salaried
Male
Unmarried
Executive
Basic
3
5
43
2
4
2
0
0
1
29,336
18
Self Enquiry
1
Salaried
Male
Married
AVP
Super Deluxe
3
4
35
3
3
2
0
0
0
16,951
10
Self Enquiry
1
Salaried
Male
Married
Executive
Basic
4
3
40
4
3
2
0
1
2
29,616
9
Company Invited
1
Large Business
Female
Single
Senior Manager
Standard
2
4
27
3
3
3
0
0
1
23,362
17
Self Enquiry
3
Small Business
Male
Unmarried
Manager
Deluxe
1
4
26
2
5
7
1
1
0
17,042
8
Company Invited
1
Salaried
Male
Divorced
Executive
Basic
5
3
43
3
3
2
1
0
0
31,959
32
Company Invited
3
Salaried
Male
Divorced
AVP
Super Deluxe
2
3
32
4
5
3
1
0
3
25,511
18
Self Enquiry
1
Small Business
Male
Divorced
Manager
Deluxe
2
4
35
3
5
4
0
0
1
30,309
12
Self Enquiry
1
Small Business
Female
Single
Senior Manager
Standard
2
5
34
3
4
8
0
0
2
21,300
11
Self Enquiry
1
Small Business
Female
Married
Executive
Basic
4
5
31
2
4
2
0
0
1
16,261
14
Self Enquiry
1
Salaried
Female
Single
Executive
Basic
4
4
35
4
3
3
0
0
1
24,392
16
Self Enquiry
3
Salaried
Female
Married
Manager
Deluxe
1
4
42
3
3
2
0
1
2
24,829
16
Company Invited
3
Salaried
Male
Married
AVP
Super Deluxe
5
6
34
2
5
4
0
1
1
20,121
14
Self Enquiry
1
Salaried
Female
Married
Manager
Deluxe
5
3
34
3
5
2
0
1
1
21,385
9
Self Enquiry
1
Salaried
Female
Divorced
Executive
Basic
3
4
34
2
4
1
0
1
0
26,994
13
Self Enquiry
1
Salaried
Fe Male
Unmarried
Senior Manager
Standard
3
3
39
3
3
5
0
0
2
24,939
36
Self Enquiry
1
Large Business
Male
Divorced
Manager
Deluxe
2
4
29
3
3
3
1
0
1
22,119
12
Self Enquiry
1
Large Business
Male
Unmarried
Executive
Basic
1
4
35
2
3
3
0
0
1
20,762
8
Company Invited
1
Small Business
Male
Married
Manager
Deluxe
3
3
26
2
3
2
1
1
1
20,828
10
Self Enquiry
3
Small Business
Male
Single
Manager
Deluxe
2
4
37
3
3
7
0
1
1
21,513
10
Self Enquiry
1
Salaried
Female
Married
Executive
Basic
2
4
35
4
5
6
0
0
2
24,024
16
Company Invited
1
Salaried
Male
Married
Manager
Deluxe
3
4
40
3
3
2
0
1
1
30,847
9
Company Invited
1
Salaried
Male
Married
AVP
Super Deluxe
3
4
33
2
3
2
1
1
0
17,851
11
Self Enquiry
3
Small Business
Female
Single
Executive
Basic
2
3
38
3
4
1
0
0
0
17,899
15
Self Enquiry
3
Small Business
Male
Divorced
Executive
Basic
4
4
End of preview.