Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
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, "' + 2647
to
{'ProdTaken': Value('int64'), 'Age': Value('float32'), 'MonthlyIncome': Value('float32'), 'NumberOfTrips': Value('float32')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2543, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2060, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2092, in _iter_arrow
                  pa_table = cast_table_to_features(pa_table, self.features)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2192, in cast_table_to_features
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              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, "' + 2647
              to
              {'ProdTaken': Value('int64'), 'Age': Value('float32'), 'MonthlyIncome': Value('float32'), 'NumberOfTrips': Value('float32')}
              because column names don't match

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.

Visit With Us – Tourism Dataset

Description

This dataset contains customer information used to predict whether a customer will purchase a wellness tourism package.

Source

The dataset is used for an academic MLOps project and was provided as part of a supervised machine learning assignment.

Target Variable

  • ProdTaken
    • 1 → Package purchased
    • 0 → Package not purchased

Features

Some key features include:

  • Age
  • MonthlyIncome
  • NumberOfTrips
  • TypeofContact
  • CityTier
  • Occupation
  • ProductPitched

Usage

This dataset is used to:

  • Train a classification model
  • Evaluate performance using ROC-AUC
  • Deploy a prediction app using Hugging Face Spaces

License

For academic and educational use only.

Downloads last month
10