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 8 new columns ({'monthly_spend', 'churn', 'customer_id', 'last_login', 'signup_date', 'plan', 'tenure_months', 'support_tickets'}) and 17 missing columns ({'CALC', 'Height', 'NCP', 'SCC', 'Gender', 'FAF', 'NObeyesdad', 'Weight', 'FCVC', 'TUE', 'MTRANS', 'CAEC', 'SMOKE', 'family_history_with_overweight', 'FAVC', 'Age', 'CH2O'}).

This happened while the csv dataset builder was generating data using

hf://datasets/SherryYZhang/ADS410/customer_activity.csv (at revision fac50fabaeb25f5abbfd72d575902a8a81024bf1), ['hf://datasets/SherryYZhang/ADS410@fac50fabaeb25f5abbfd72d575902a8a81024bf1/Obesity-data.csv', 'hf://datasets/SherryYZhang/ADS410@fac50fabaeb25f5abbfd72d575902a8a81024bf1/customer_activity.csv', 'hf://datasets/SherryYZhang/ADS410@fac50fabaeb25f5abbfd72d575902a8a81024bf1/customer_profile.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
              customer_id: string
              signup_date: string
              last_login: string
              plan: string
              monthly_spend: double
              support_tickets: int64
              tenure_months: int64
              churn: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1238
              to
              {'Gender': Value('string'), 'Age': Value('float64'), 'Height': Value('float64'), 'Weight': Value('float64'), 'family_history_with_overweight': Value('string'), 'FAVC': Value('string'), 'FCVC': Value('float64'), 'NCP': Value('float64'), 'CAEC': Value('string'), 'SMOKE': Value('string'), 'CH2O': Value('float64'), 'SCC': Value('string'), 'FAF': Value('float64'), 'TUE': Value('float64'), 'CALC': Value('string'), 'MTRANS': Value('string'), 'NObeyesdad': 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 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 8 new columns ({'monthly_spend', 'churn', 'customer_id', 'last_login', 'signup_date', 'plan', 'tenure_months', 'support_tickets'}) and 17 missing columns ({'CALC', 'Height', 'NCP', 'SCC', 'Gender', 'FAF', 'NObeyesdad', 'Weight', 'FCVC', 'TUE', 'MTRANS', 'CAEC', 'SMOKE', 'family_history_with_overweight', 'FAVC', 'Age', 'CH2O'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/SherryYZhang/ADS410/customer_activity.csv (at revision fac50fabaeb25f5abbfd72d575902a8a81024bf1), ['hf://datasets/SherryYZhang/ADS410@fac50fabaeb25f5abbfd72d575902a8a81024bf1/Obesity-data.csv', 'hf://datasets/SherryYZhang/ADS410@fac50fabaeb25f5abbfd72d575902a8a81024bf1/customer_activity.csv', 'hf://datasets/SherryYZhang/ADS410@fac50fabaeb25f5abbfd72d575902a8a81024bf1/customer_profile.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.

Gender
string
Age
float64
Height
float64
Weight
float64
family_history_with_overweight
string
FAVC
string
FCVC
float64
NCP
float64
CAEC
string
SMOKE
string
CH2O
float64
SCC
string
FAF
float64
TUE
float64
CALC
string
MTRANS
string
NObeyesdad
string
Female
21
1.62
64
yes
no
2
3
Sometimes
no
2
no
0
1
no
Public_Transportation
Normal_Weight
Female
21
1.52
56
yes
no
3
3
Sometimes
yes
3
yes
3
0
Sometimes
Public_Transportation
Normal_Weight
Male
23
1.8
77
yes
no
2
3
Sometimes
no
2
no
2
1
Frequently
Public_Transportation
Normal_Weight
Male
27
1.8
87
no
no
3
3
Sometimes
no
2
no
2
0
Frequently
Walking
Overweight_Level_I
Male
22
1.78
89.8
no
no
2
1
Sometimes
no
2
no
0
0
Sometimes
Public_Transportation
Overweight_Level_II
Male
29
1.62
53
no
yes
2
3
Sometimes
no
2
no
0
0
Sometimes
Automobile
Normal_Weight
Female
23
1.5
55
yes
yes
3
3
Sometimes
no
2
no
1
0
Sometimes
Motorbike
Normal_Weight
Male
22
1.64
53
no
no
2
3
Sometimes
no
2
no
3
0
Sometimes
Public_Transportation
Normal_Weight
Male
24
1.78
64
yes
yes
3
3
Sometimes
no
2
no
1
1
Frequently
Public_Transportation
Normal_Weight
Male
22
1.72
68
yes
yes
2
3
Sometimes
no
2
no
1
1
no
Public_Transportation
Normal_Weight
Male
26
1.85
105
yes
yes
3
3
Frequently
no
3
no
2
2
Sometimes
Public_Transportation
Obesity_Type_I
Female
21
1.72
80
yes
yes
2
3
Frequently
no
2
yes
2
1
Sometimes
Public_Transportation
Overweight_Level_II
Male
22
1.65
56
no
no
3
3
Sometimes
no
3
no
2
0
Sometimes
Public_Transportation
Normal_Weight
Male
41
1.8
99
no
yes
2
3
Sometimes
no
2
no
2
1
Frequently
Automobile
Obesity_Type_I
Male
23
1.77
60
yes
yes
3
1
Sometimes
no
1
no
1
1
Sometimes
Public_Transportation
Normal_Weight
Female
22
1.7
66
yes
no
3
3
Always
no
2
yes
2
1
Sometimes
Public_Transportation
Normal_Weight
Male
27
1.93
102
yes
yes
2
1
Sometimes
no
1
no
1
0
Sometimes
Public_Transportation
Overweight_Level_II
Female
29
1.53
78
no
yes
2
1
Sometimes
no
2
no
0
0
no
Automobile
Obesity_Type_I
Female
30
1.71
82
yes
yes
3
4
Frequently
yes
1
no
0
0
no
Automobile
Overweight_Level_II
Female
23
1.65
70
yes
no
2
1
Sometimes
no
2
no
0
0
Sometimes
Public_Transportation
Overweight_Level_I
Male
22
1.65
80
yes
no
2
3
Sometimes
no
2
no
3
2
no
Walking
Overweight_Level_II
Female
52
1.69
87
yes
yes
3
1
Sometimes
yes
2
no
0
0
no
Automobile
Obesity_Type_I
Female
22
1.65
60
yes
yes
3
3
Sometimes
no
2
no
1
0
Sometimes
Automobile
Normal_Weight
Female
22
1.6
82
yes
yes
1
1
Sometimes
no
2
no
0
2
Sometimes
Public_Transportation
Obesity_Type_I
Male
21
1.85
68
yes
yes
2
3
Sometimes
no
2
no
0
1
Sometimes
Public_Transportation
Normal_Weight
Male
20
1.6
50
yes
no
2
4
Frequently
yes
2
no
3
2
no
Public_Transportation
Normal_Weight
Male
21
1.7
65
yes
yes
2
1
Frequently
no
2
no
1
2
Always
Walking
Normal_Weight
Female
23
1.6
52
no
yes
2
4
Frequently
no
2
no
2
1
Sometimes
Automobile
Normal_Weight
Male
19
1.75
76
yes
yes
3
3
Sometimes
no
2
yes
3
1
Sometimes
Public_Transportation
Normal_Weight
Male
23
1.68
70
no
yes
2
3
Sometimes
no
2
no
2
2
Frequently
Walking
Normal_Weight
Male
29
1.77
83
no
yes
1
4
Frequently
no
3
no
0
1
no
Motorbike
Overweight_Level_I
Female
31
1.58
68
yes
no
2
1
Sometimes
no
1
no
1
0
Sometimes
Public_Transportation
Overweight_Level_II
Female
24
1.77
76
no
no
2
3
Sometimes
no
3
no
1
1
Sometimes
Walking
Normal_Weight
Male
39
1.79
90
no
no
2
1
Sometimes
no
2
no
0
0
Sometimes
Public_Transportation
Overweight_Level_II
Male
22
1.65
62
no
yes
2
4
Frequently
no
2
no
2
0
Sometimes
Public_Transportation
Normal_Weight
Female
21
1.5
65
yes
no
2
3
Sometimes
no
2
no
2
2
Sometimes
Public_Transportation
Overweight_Level_II
Female
22
1.56
49
no
yes
2
3
Sometimes
no
1
yes
2
0
no
Walking
Normal_Weight
Female
21
1.6
48
no
yes
2
3
Sometimes
no
1
no
1
0
Sometimes
Public_Transportation
Normal_Weight
Male
23
1.65
67
yes
yes
2
3
Sometimes
no
2
no
1
1
Sometimes
Public_Transportation
Normal_Weight
Female
21
1.75
88
yes
yes
2
3
Sometimes
no
3
no
3
0
Sometimes
Public_Transportation
Overweight_Level_II
Female
21
1.67
75
yes
yes
2
3
Sometimes
no
2
no
1
0
Sometimes
Public_Transportation
Overweight_Level_I
Male
23
1.68
60
no
no
2
4
Frequently
no
2
no
0
0
no
Walking
Normal_Weight
Female
21
1.66
64
yes
yes
1
3
Sometimes
no
1
no
0
0
no
Public_Transportation
Normal_Weight
Male
21
1.66
62
yes
yes
2
3
Sometimes
yes
2
no
1
1
Frequently
Public_Transportation
Normal_Weight
Male
21
1.81
80
no
no
1
3
no
no
2
no
2
0
no
Public_Transportation
Normal_Weight
Female
21
1.53
65
yes
no
2
3
Sometimes
no
1
no
0
1
no
Public_Transportation
Overweight_Level_II
Male
21
1.82
72
yes
yes
1
3
Frequently
no
3
no
2
0
Sometimes
Public_Transportation
Normal_Weight
Male
21
1.75
72
yes
yes
1
3
Frequently
no
3
no
2
0
Sometimes
Public_Transportation
Normal_Weight
Female
20
1.66
60
yes
no
3
3
Sometimes
no
2
no
1
0
Sometimes
Walking
Normal_Weight
Female
21
1.55
50
no
yes
2
3
Sometimes
no
2
no
0
0
Sometimes
Public_Transportation
Normal_Weight
Female
21
1.61
54.5
yes
yes
3
3
Sometimes
no
3
no
0
1
Sometimes
Walking
Normal_Weight
Female
20
1.5
44
no
yes
2
3
Sometimes
no
1
no
0
0
Sometimes
Automobile
Normal_Weight
Female
23
1.64
52
no
yes
3
1
Sometimes
no
2
no
2
2
no
Public_Transportation
Normal_Weight
Female
23
1.63
55
yes
no
3
3
no
no
2
yes
2
1
no
Public_Transportation
Normal_Weight
Female
22
1.6
55
no
no
3
4
Always
no
3
no
2
0
no
Public_Transportation
Normal_Weight
Male
23
1.68
62
no
no
2
4
Frequently
no
2
no
0
0
Sometimes
Automobile
Normal_Weight
Male
22
1.7
70
yes
yes
2
3
Sometimes
no
1
no
0
1
Sometimes
Automobile
Normal_Weight
Male
21
1.64
65
yes
no
2
3
Sometimes
no
1
no
0
1
no
Public_Transportation
Normal_Weight
Female
17
1.65
67
yes
yes
3
1
Sometimes
no
2
no
1
1
no
Walking
Normal_Weight
Male
20
1.76
55
yes
yes
2
4
Sometimes
no
3
no
2
2
no
Public_Transportation
Insufficient_Weight
Female
21
1.55
49
yes
yes
2
3
Sometimes
no
3
no
3
1
Sometimes
Public_Transportation
Normal_Weight
Male
20
1.65
58
no
yes
2
3
Sometimes
no
2
no
3
1
Sometimes
Public_Transportation
Normal_Weight
Male
22
1.67
62
no
yes
2
1
no
no
2
no
0
0
Sometimes
Public_Transportation
Normal_Weight
Male
22
1.68
55
yes
yes
2
3
Sometimes
no
2
no
0
2
Sometimes
Automobile
Normal_Weight
Female
21
1.66
57
yes
yes
2
3
Frequently
no
1
no
1
1
no
Public_Transportation
Normal_Weight
Female
21
1.62
69
yes
yes
1
3
Frequently
no
2
no
0
1
no
Public_Transportation
Overweight_Level_I
Male
23
1.8
90
yes
yes
1
3
Always
no
2
no
0
2
Frequently
Public_Transportation
Overweight_Level_II
Male
23
1.65
95
yes
yes
2
3
Always
no
2
no
0
1
Frequently
Automobile
Obesity_Type_I
Male
30
1.76
112
yes
yes
1
3
no
yes
2
yes
0
0
Frequently
Automobile
Obesity_Type_II
Male
23
1.8
60
yes
no
2
3
no
no
3
no
0
1
Sometimes
Public_Transportation
Normal_Weight
Female
23
1.65
80
yes
yes
2
3
Always
no
2
no
0
2
no
Public_Transportation
Overweight_Level_II
Female
22
1.67
50
yes
no
3
3
no
no
3
yes
2
1
Sometimes
Public_Transportation
Insufficient_Weight
Female
24
1.65
60
yes
no
2
3
Sometimes
no
3
yes
1
0
no
Public_Transportation
Normal_Weight
Male
19
1.85
65
yes
no
2
3
Sometimes
no
3
no
2
1
Sometimes
Bike
Normal_Weight
Male
24
1.7
85
yes
yes
2
3
Frequently
no
3
no
0
1
Frequently
Public_Transportation
Overweight_Level_II
Female
23
1.63
45
yes
no
3
3
Sometimes
no
3
yes
2
0
no
Public_Transportation
Insufficient_Weight
Female
24
1.6
45
yes
no
2
3
no
no
2
no
1
0
no
Public_Transportation
Insufficient_Weight
Female
24
1.7
80
yes
yes
2
3
Sometimes
no
3
no
0
0
no
Public_Transportation
Overweight_Level_II
Female
23
1.65
90
yes
yes
2
3
Sometimes
no
3
no
0
1
no
Public_Transportation
Obesity_Type_I
Male
23
1.65
60
yes
no
2
3
Sometimes
no
2
no
0
0
Sometimes
Public_Transportation
Normal_Weight
Female
19
1.63
58
no
no
3
3
Sometimes
no
2
yes
0
0
no
Public_Transportation
Normal_Weight
Male
30
1.8
91
yes
yes
2
3
Frequently
no
2
no
0
0
Sometimes
Public_Transportation
Overweight_Level_II
Male
23
1.67
85.5
yes
yes
2
3
Always
no
2
no
0
1
no
Public_Transportation
Obesity_Type_I
Female
19
1.6
45
no
no
3
3
no
no
3
yes
2
0
no
Walking
Insufficient_Weight
Male
25
1.7
83
yes
yes
2
3
Frequently
no
2
no
0
1
Sometimes
Public_Transportation
Overweight_Level_II
Male
23
1.65
58.5
yes
no
2
3
Sometimes
no
2
no
0
0
no
Public_Transportation
Normal_Weight
Male
21
1.85
83
yes
yes
2
1
Frequently
no
3
no
1
0
no
Public_Transportation
Normal_Weight
Male
19
1.82
87
yes
yes
2
3
Sometimes
no
2
no
0
0
no
Public_Transportation
Overweight_Level_I
Female
22
1.65
65
yes
yes
2
3
Frequently
no
2
yes
1
0
no
Automobile
Normal_Weight
Female
29
1.7
78
yes
yes
3
3
Sometimes
no
1
no
2
1
Frequently
Automobile
Overweight_Level_II
Female
25
1.63
93
no
no
3
4
Always
no
1
no
2
0
no
Public_Transportation
Obesity_Type_II
Female
20
1.61
64
yes
no
3
3
Always
no
2
yes
0
1
Frequently
Public_Transportation
Normal_Weight
Male
55
1.78
84
yes
no
3
4
Frequently
no
3
yes
3
0
Frequently
Walking
Overweight_Level_I
Female
20
1.6
57
no
no
3
3
Always
no
2
no
1
0
no
Walking
Normal_Weight
Female
24
1.6
48
no
yes
3
3
Sometimes
no
2
no
2
0
no
Public_Transportation
Normal_Weight
Male
26
1.7
70
yes
no
3
1
Frequently
no
2
no
2
0
Frequently
Public_Transportation
Normal_Weight
Female
23
1.66
60
yes
no
2
3
Sometimes
no
2
no
3
0
Sometimes
Public_Transportation
Normal_Weight
Female
21
1.52
42
no
no
3
1
Frequently
no
1
no
0
0
Sometimes
Public_Transportation
Insufficient_Weight
Female
21
1.52
42
no
no
3
1
Frequently
no
1
no
0
0
Sometimes
Public_Transportation
Insufficient_Weight
Male
23
1.72
70
no
no
2
3
Sometimes
no
2
no
3
1
Frequently
Public_Transportation
Normal_Weight
End of preview.

No dataset card yet

Downloads last month
25