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 ({'feature_name'}) and 6 missing columns ({'family_status', 'customer_id', 'age_group', 'psychographic_category', 'gender', 'loyalty_tier'}).

This happened while the csv dataset builder was generating data using

hf://datasets/ranjeetjha/PrivacyPreservingPersonalization/feature_names.csv (at revision 68e5bf31dc9b01758cfd9342fc8b106061c1263e)

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
              feature_name: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 385
              to
              {'customer_id': Value('string'), 'age_group': Value('string'), 'gender': Value('string'), 'loyalty_tier': Value('string'), 'family_status': Value('string'), 'psychographic_category': Value('string')}
              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 1 new columns ({'feature_name'}) and 6 missing columns ({'family_status', 'customer_id', 'age_group', 'psychographic_category', 'gender', 'loyalty_tier'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/ranjeetjha/PrivacyPreservingPersonalization/feature_names.csv (at revision 68e5bf31dc9b01758cfd9342fc8b106061c1263e)
              
              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.

customer_id
string
age_group
string
gender
string
loyalty_tier
string
family_status
string
psychographic_category
string
CUST_000000
26-35
F
Silver
Couple
Quality_Seeker
CUST_000001
26-35
M
Gold
Couple
Convenience_Focused
CUST_000002
18-25
F
Gold
Single
Brand_Loyal
CUST_000003
26-35
M
Silver
Single
Price_Conscious
CUST_000004
36-45
M
Bronze
Family_Large
Convenience_Focused
CUST_000005
26-35
Other
Bronze
Family_Small
Trendsetter
CUST_000006
36-45
M
Gold
Family_Small
Quality_Seeker
CUST_000007
26-35
M
Silver
Single
Brand_Loyal
CUST_000008
36-45
M
Gold
Couple
Brand_Loyal
CUST_000009
26-35
F
Silver
Single
Quality_Seeker
CUST_000010
46-55
F
Gold
Family_Small
Brand_Loyal
CUST_000011
18-25
M
Bronze
Single
Trendsetter
CUST_000012
36-45
F
Silver
Couple
Trendsetter
CUST_000013
46-55
M
Platinum
Family_Small
Brand_Loyal
CUST_000014
26-35
M
Bronze
Couple
Convenience_Focused
CUST_000015
46-55
M
Bronze
Couple
Price_Conscious
CUST_000016
36-45
M
Bronze
Family_Small
Trendsetter
CUST_000017
46-55
F
Gold
Family_Small
Trendsetter
CUST_000018
65+
F
Silver
Single
Convenience_Focused
CUST_000019
36-45
M
Bronze
Couple
Price_Conscious
CUST_000020
26-35
F
Gold
Single
Trendsetter
CUST_000021
36-45
M
Gold
Family_Small
Convenience_Focused
CUST_000022
26-35
F
Gold
Couple
Brand_Loyal
CUST_000023
46-55
M
Gold
Family_Small
Quality_Seeker
CUST_000024
18-25
M
Gold
Single
Convenience_Focused
CUST_000025
36-45
F
Gold
Couple
Convenience_Focused
CUST_000026
36-45
M
Bronze
Family_Small
Convenience_Focused
CUST_000027
26-35
F
Silver
Single
Price_Conscious
CUST_000028
26-35
M
Silver
Couple
Trendsetter
CUST_000029
26-35
M
Silver
Couple
Trendsetter
CUST_000030
26-35
F
Silver
Couple
Quality_Seeker
CUST_000031
65+
M
Silver
Couple
Convenience_Focused
CUST_000032
26-35
F
Bronze
Family_Small
Convenience_Focused
CUST_000033
46-55
F
Bronze
Family_Small
Trendsetter
CUST_000034
56-65
M
Bronze
Couple
Convenience_Focused
CUST_000035
26-35
M
Gold
Single
Quality_Seeker
CUST_000036
46-55
F
Silver
Couple
Quality_Seeker
CUST_000037
26-35
F
Gold
Couple
Brand_Loyal
CUST_000038
26-35
Other
Platinum
Couple
Convenience_Focused
CUST_000039
26-35
M
Silver
Family_Small
Brand_Loyal
CUST_000040
56-65
F
Silver
Single
Brand_Loyal
CUST_000041
56-65
F
Bronze
Single
Convenience_Focused
CUST_000042
65+
M
Bronze
Couple
Convenience_Focused
CUST_000043
46-55
M
Silver
Couple
Trendsetter
CUST_000044
26-35
M
Silver
Couple
Price_Conscious
CUST_000045
36-45
F
Silver
Couple
Trendsetter
CUST_000046
36-45
F
Bronze
Family_Small
Price_Conscious
CUST_000047
36-45
F
Bronze
Family_Small
Convenience_Focused
CUST_000048
36-45
F
Bronze
Family_Large
Trendsetter
CUST_000049
26-35
F
Silver
Family_Small
Trendsetter
CUST_000050
36-45
F
Platinum
Family_Large
Trendsetter
CUST_000051
26-35
F
Bronze
Single
Price_Conscious
CUST_000052
26-35
F
Gold
Single
Quality_Seeker
CUST_000053
36-45
Other
Bronze
Family_Small
Quality_Seeker
CUST_000054
26-35
F
Bronze
Couple
Trendsetter
CUST_000055
26-35
M
Bronze
Couple
Brand_Loyal
CUST_000056
36-45
F
Silver
Family_Small
Brand_Loyal
CUST_000057
56-65
M
Silver
Couple
Convenience_Focused
CUST_000058
36-45
F
Bronze
Family_Small
Price_Conscious
CUST_000059
18-25
F
Bronze
Single
Price_Conscious
CUST_000060
46-55
M
Platinum
Family_Small
Trendsetter
CUST_000061
26-35
M
Silver
Single
Trendsetter
CUST_000062
65+
F
Bronze
Single
Convenience_Focused
CUST_000063
36-45
M
Bronze
Family_Large
Price_Conscious
CUST_000064
46-55
M
Gold
Family_Small
Price_Conscious
CUST_000065
46-55
M
Platinum
Family_Small
Trendsetter
CUST_000066
36-45
M
Bronze
Family_Small
Trendsetter
CUST_000067
18-25
M
Bronze
Single
Brand_Loyal
CUST_000068
26-35
M
Silver
Family_Small
Brand_Loyal
CUST_000069
26-35
M
Bronze
Couple
Trendsetter
CUST_000070
56-65
M
Bronze
Couple
Price_Conscious
CUST_000071
36-45
F
Silver
Family_Large
Quality_Seeker
CUST_000072
18-25
F
Gold
Couple
Quality_Seeker
CUST_000073
36-45
M
Gold
Family_Large
Brand_Loyal
CUST_000074
26-35
F
Gold
Single
Trendsetter
CUST_000075
26-35
M
Bronze
Couple
Price_Conscious
CUST_000076
46-55
M
Silver
Family_Small
Convenience_Focused
CUST_000077
26-35
M
Silver
Couple
Trendsetter
CUST_000078
18-25
M
Platinum
Couple
Trendsetter
CUST_000079
46-55
F
Platinum
Family_Small
Quality_Seeker
CUST_000080
26-35
F
Gold
Couple
Brand_Loyal
CUST_000081
36-45
F
Silver
Couple
Price_Conscious
CUST_000082
36-45
F
Bronze
Couple
Convenience_Focused
CUST_000083
26-35
M
Gold
Single
Brand_Loyal
CUST_000084
65+
F
Silver
Couple
Trendsetter
CUST_000085
18-25
F
Silver
Single
Trendsetter
CUST_000086
46-55
F
Bronze
Family_Small
Quality_Seeker
CUST_000087
36-45
F
Bronze
Couple
Brand_Loyal
CUST_000088
46-55
F
Gold
Family_Large
Trendsetter
CUST_000089
26-35
M
Gold
Single
Trendsetter
CUST_000090
18-25
Other
Bronze
Single
Brand_Loyal
CUST_000091
26-35
F
Silver
Single
Brand_Loyal
CUST_000092
18-25
F
Silver
Single
Quality_Seeker
CUST_000093
26-35
M
Bronze
Single
Quality_Seeker
CUST_000094
46-55
F
Gold
Family_Small
Convenience_Focused
CUST_000095
36-45
F
Bronze
Couple
Price_Conscious
CUST_000096
26-35
F
Bronze
Family_Small
Trendsetter
CUST_000097
26-35
M
Gold
Family_Small
Brand_Loyal
CUST_000098
36-45
F
Silver
Family_Small
Price_Conscious
CUST_000099
36-45
F
Gold
Couple
Brand_Loyal
End of preview.
README.md exists but content is empty.
Downloads last month
3