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'})

This happened while the csv dataset builder was generating data using

hf://datasets/j4nusx/tourism/curated_prod_taken_full.csv (at revision 4ac289cc021b48066281dfb26da2fd88dcba09a2), ['hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/Xtest.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/Xtrain.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/curated_prod_taken_full.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/tourism.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/ytest.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/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 1848, 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 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              Age: double
              CityTier: int64
              NumberOfPersonVisiting: int64
              PreferredPropertyStar: double
              NumberOfTrips: double
              Passport: int64
              PitchSatisfactionScore: int64
              NumberOfFollowups: double
              DurationOfPitch: double
              TypeofContact_Self Enquiry: double
              Occupation_Large Business: double
              Gender_Male: double
              MaritalStatus_Single: double
              MaritalStatus_Unmarried: double
              Designation_Executive: double
              Designation_Senior Manager: double
              ProdTaken: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2557
              to
              {'Age': Value('float64'), 'CityTier': Value('int64'), 'NumberOfPersonVisiting': Value('int64'), 'PreferredPropertyStar': Value('float64'), 'NumberOfTrips': Value('float64'), 'Passport': Value('int64'), 'PitchSatisfactionScore': Value('int64'), 'NumberOfFollowups': Value('float64'), 'DurationOfPitch': Value('float64'), 'TypeofContact_Self Enquiry': Value('float64'), 'Occupation_Large Business': Value('float64'), 'Gender_Male': Value('float64'), 'MaritalStatus_Single': Value('float64'), 'MaritalStatus_Unmarried': Value('float64'), 'Designation_Executive': Value('float64'), 'Designation_Senior Manager': 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 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 1694, 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 1850, 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 1 new columns ({'ProdTaken'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/j4nusx/tourism/curated_prod_taken_full.csv (at revision 4ac289cc021b48066281dfb26da2fd88dcba09a2), ['hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/Xtest.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/Xtrain.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/curated_prod_taken_full.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/tourism.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/ytest.csv', 'hf://datasets/j4nusx/tourism@4ac289cc021b48066281dfb26da2fd88dcba09a2/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
NumberOfPersonVisiting
int64
PreferredPropertyStar
float64
NumberOfTrips
float64
Passport
int64
PitchSatisfactionScore
int64
NumberOfFollowups
float64
DurationOfPitch
float64
TypeofContact_Self Enquiry
float64
Occupation_Large Business
float64
Gender_Male
float64
MaritalStatus_Single
float64
MaritalStatus_Unmarried
float64
Designation_Executive
float64
Designation_Senior Manager
float64
44
1
3
3
2
1
4
1
8
1
0
0
0
0
0
1
35
3
3
3
3
0
1
4
20
1
0
1
0
0
0
1
47
3
4
5
3
0
2
4
7
1
0
0
0
0
0
1
32
1
3
4
2
0
3
3
6
1
0
1
0
0
0
0
59
1
3
3
6
0
2
4
9
1
1
1
1
0
1
0
44
3
2
4
1
0
5
3
11
1
0
1
0
0
0
0
32
1
2
4
2
0
3
4
35
1
0
0
1
0
1
0
27
3
3
3
3
0
5
4
7
1
0
1
0
0
0
0
38
3
2
3
4
0
5
4
8
0
0
1
0
0
0
0
32
1
3
3
2
1
4
4
12
1
1
1
0
0
1
0
40
1
3
3
2
0
3
3
30
1
1
1
0
0
0
0
38
1
3
3
3
0
1
4
20
1
0
1
0
0
0
0
35
3
3
3
2
0
5
3
6
0
0
0
0
1
0
1
35
1
3
5
2
1
1
3
8
1
0
0
0
0
1
0
34
1
3
3
2
0
5
6
17
1
0
1
0
0
1
0
33
1
3
4
3
0
3
5
36
1
0
0
0
1
1
0
51
1
3
3
4
0
3
3
15
1
0
1
0
0
1
0
29
3
2
5
2
0
3
1
30
0
1
1
1
0
1
0
34
3
3
3
1
1
2
2
25
0
0
1
1
0
0
0
38
1
2
3
6
0
2
4
14
1
0
1
1
0
0
1
46
1
3
5
1
0
2
3
6
1
0
1
0
0
0
1
54
2
2
4
3
0
3
3
25
1
0
1
0
0
0
1
56
1
2
3
1
0
4
3
15
1
0
1
0
0
0
0
30
1
2
3
19
1
4
3
10
0
1
1
1
0
1
0
26
1
3
5
1
0
5
3
6
1
0
1
1
0
1
0
33
1
2
3
1
0
4
3
13
1
0
1
0
0
0
1
24
1
3
4
2
0
3
4
23
1
0
1
0
0
1
0
30
1
4
3
2
0
5
6
36
1
0
1
0
0
0
0
33
3
3
4
1
0
1
3
8
0
0
0
1
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