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 9 new columns ({'MaritalStatus', 'Unnamed: 0', 'CustomerID', 'Occupation', 'ProductPitched', 'Gender', 'ProdTaken', 'Designation', 'TypeofContact'}) and 15 missing columns ({'Occupation_Small Business', 'TypeofContact_Self Enquiry', 'MaritalStatus_Single', 'Occupation_Large Business', 'Designation_Senior Manager', 'Gender_Male', 'Designation_VP', 'Gender_Female', 'Occupation_Salaried', 'ProductPitched_Deluxe', 'ProductPitched_Super Deluxe', 'ProductPitched_King', 'ProductPitched_Standard', 'Designation_Executive', 'Designation_Manager'}).

This happened while the csv dataset builder was generating data using

hf://datasets/shrikantpillay/MLOPS/tourism.csv (at revision dd93b6989af12e5281a5f1baf52f02033161357a), ['hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/Xtest.csv', 'hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/Xtrain.csv', 'hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/tourism.csv', 'hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/ytest.csv', 'hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/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.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/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.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              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, "' + 2899
              to
              {'Age': Value('float64'), 'CityTier': Value('int64'), 'DurationOfPitch': Value('float64'), 'NumberOfPersonVisiting': Value('int64'), 'NumberOfFollowups': Value('float64'), 'PreferredPropertyStar': Value('float64'), 'NumberOfTrips': Value('float64'), 'Passport': Value('int64'), 'PitchSatisfactionScore': Value('int64'), 'OwnCar': Value('int64'), 'NumberOfChildrenVisiting': Value('float64'), 'MonthlyIncome': Value('float64'), 'TypeofContact_Self Enquiry': Value('int64'), 'Occupation_Large Business': Value('int64'), 'Occupation_Salaried': Value('int64'), 'Occupation_Small Business': Value('int64'), 'Gender_Female': Value('int64'), 'Gender_Male': Value('int64'), 'ProductPitched_Deluxe': Value('int64'), 'ProductPitched_King': Value('int64'), 'ProductPitched_Standard': Value('int64'), 'ProductPitched_Super Deluxe': Value('int64'), 'MaritalStatus_Single': Value('int64'), 'Designation_Executive': Value('int64'), 'Designation_Manager': Value('int64'), 'Designation_Senior Manager': Value('int64'), 'Designation_VP': Value('int64')}
              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 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              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 9 new columns ({'MaritalStatus', 'Unnamed: 0', 'CustomerID', 'Occupation', 'ProductPitched', 'Gender', 'ProdTaken', 'Designation', 'TypeofContact'}) and 15 missing columns ({'Occupation_Small Business', 'TypeofContact_Self Enquiry', 'MaritalStatus_Single', 'Occupation_Large Business', 'Designation_Senior Manager', 'Gender_Male', 'Designation_VP', 'Gender_Female', 'Occupation_Salaried', 'ProductPitched_Deluxe', 'ProductPitched_Super Deluxe', 'ProductPitched_King', 'ProductPitched_Standard', 'Designation_Executive', 'Designation_Manager'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/shrikantpillay/MLOPS/tourism.csv (at revision dd93b6989af12e5281a5f1baf52f02033161357a), ['hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/Xtest.csv', 'hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/Xtrain.csv', 'hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/tourism.csv', 'hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/ytest.csv', 'hf://datasets/shrikantpillay/MLOPS@dd93b6989af12e5281a5f1baf52f02033161357a/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.

Age
float64
CityTier
int64
DurationOfPitch
float64
NumberOfPersonVisiting
int64
NumberOfFollowups
float64
PreferredPropertyStar
float64
NumberOfTrips
float64
Passport
int64
PitchSatisfactionScore
int64
OwnCar
int64
NumberOfChildrenVisiting
float64
MonthlyIncome
float64
TypeofContact_Self Enquiry
int64
Occupation_Large Business
int64
Occupation_Salaried
int64
Occupation_Small Business
int64
Gender_Female
int64
Gender_Male
int64
ProductPitched_Deluxe
int64
ProductPitched_King
int64
ProductPitched_Standard
int64
ProductPitched_Super Deluxe
int64
MaritalStatus_Single
int64
Designation_Executive
int64
Designation_Manager
int64
Designation_Senior Manager
int64
Designation_VP
int64
44
1
8
3
1
3
2
1
4
1
0
22,879
1
0
1
0
1
0
0
0
1
0
0
0
0
1
0
35
3
20
3
4
3
3
0
1
1
2
27,306
1
0
0
1
0
1
0
0
1
0
0
0
0
1
0
47
3
7
4
4
5
3
0
2
1
2
29,131
1
0
0
1
1
0
0
0
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3
2
1
2
1
1
20,828
1
0
0
1
0
1
1
0
0
0
1
0
1
0
0
37
1
10
3
4
3
7
0
2
1
1
21,513
1
0
1
0
1
0
0
0
0
0
0
1
0
0
0
35
1
16
4
4
5
6
0
3
0
2
24,024
0
0
1
0
0
1
1
0
0
0
0
0
1
0
0
40
1
9
3
4
3
2
0
3
1
1
30,847
0
0
1
0
0
1
0
0
0
1
0
0
0
0
0
33
3
11
2
3
3
2
1
2
1
0
17,851
1
0
0
1
1
0
0
0
0
0
1
1
0
0
0
38
3
15
3
4
4
1
0
4
0
0
17,899
1
0
0
1
0
1
0
0
0
0
1
1
0
0
0
End of preview.

No dataset card yet

Downloads last month
23