Dataset Preview
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 21 new columns ({'stress_level', 'noise_level', 'living_conditions', 'peer_pressure', 'self_esteem', 'future_career_concerns', 'extracurricular_activities', 'sleep_quality', 'depression', 'teacher_student_relationship', 'study_load', 'safety', 'basic_needs', 'bullying', 'breathing_problem', 'headache', 'blood_pressure', 'social_support', 'academic_performance', 'mental_health_history', 'anxiety_level'}) and 11 missing columns ({'Unnamed: 0', 'age', 'weight(kg)', 'BMI', 'BMR', 'calories_to_maintain_weight', 'activity_level', 'gender', 'height(m)', 'BMI_tags', 'Label'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Ahmed062646/NLP_Medora_Datasets/StressLevelDataset.csv (at revision 9b4a3b2714fc2b14b19ede2ddaea1445a551f20d), [/tmp/hf-datasets-cache/medium/datasets/40443973805102-config-parquet-and-info-Ahmed062646-NLP_Medora_Da-4e78ca29/hub/datasets--Ahmed062646--NLP_Medora_Datasets/snapshots/9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/Dataset.csv (origin=hf://datasets/Ahmed062646/NLP_Medora_Datasets@9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/Dataset.csv), /tmp/hf-datasets-cache/medium/datasets/40443973805102-config-parquet-and-info-Ahmed062646-NLP_Medora_Da-4e78ca29/hub/datasets--Ahmed062646--NLP_Medora_Datasets/snapshots/9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/StressLevelDataset.csv (origin=hf://datasets/Ahmed062646/NLP_Medora_Datasets@9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/StressLevelDataset.csv), /tmp/hf-datasets-cache/medium/datasets/40443973805102-config-parquet-and-info-Ahmed062646-NLP_Medora_Da-4e78ca29/hub/datasets--Ahmed062646--NLP_Medora_Datasets/snapshots/9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/family_history_rare_disease_cleaned.csv (origin=hf://datasets/Ahmed062646/NLP_Medora_Datasets@9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/family_history_rare_disease_cleaned.csv), /tmp/hf-datasets-cache/medium/datasets/40443973805102-config-parquet-and-info-Ahmed062646-NLP_Medora_Da-4e78ca29/hub/datasets--Ahmed062646--NLP_Medora_Datasets/snapshots/9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/heart.csv (origin=hf://datasets/Ahmed062646/NLP_Medora_Datasets@9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/heart.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.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/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.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
anxiety_level: int64
self_esteem: int64
mental_health_history: int64
depression: int64
headache: int64
blood_pressure: int64
sleep_quality: int64
breathing_problem: int64
noise_level: int64
living_conditions: int64
safety: int64
basic_needs: int64
academic_performance: int64
study_load: int64
teacher_student_relationship: int64
future_career_concerns: int64
social_support: int64
peer_pressure: int64
extracurricular_activities: int64
bullying: int64
stress_level: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2909
to
{'Unnamed: 0': Value('int64'), 'age': Value('int64'), 'weight(kg)': Value('float64'), 'height(m)': Value('float64'), 'gender': Value('string'), 'BMI': Value('float64'), 'BMR': Value('float64'), 'activity_level': Value('float64'), 'calories_to_maintain_weight': Value('float64'), 'BMI_tags': Value('int64'), 'Label': 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 1347, 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 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, 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 1802, 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 21 new columns ({'stress_level', 'noise_level', 'living_conditions', 'peer_pressure', 'self_esteem', 'future_career_concerns', 'extracurricular_activities', 'sleep_quality', 'depression', 'teacher_student_relationship', 'study_load', 'safety', 'basic_needs', 'bullying', 'breathing_problem', 'headache', 'blood_pressure', 'social_support', 'academic_performance', 'mental_health_history', 'anxiety_level'}) and 11 missing columns ({'Unnamed: 0', 'age', 'weight(kg)', 'BMI', 'BMR', 'calories_to_maintain_weight', 'activity_level', 'gender', 'height(m)', 'BMI_tags', 'Label'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Ahmed062646/NLP_Medora_Datasets/StressLevelDataset.csv (at revision 9b4a3b2714fc2b14b19ede2ddaea1445a551f20d), [/tmp/hf-datasets-cache/medium/datasets/40443973805102-config-parquet-and-info-Ahmed062646-NLP_Medora_Da-4e78ca29/hub/datasets--Ahmed062646--NLP_Medora_Datasets/snapshots/9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/Dataset.csv (origin=hf://datasets/Ahmed062646/NLP_Medora_Datasets@9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/Dataset.csv), /tmp/hf-datasets-cache/medium/datasets/40443973805102-config-parquet-and-info-Ahmed062646-NLP_Medora_Da-4e78ca29/hub/datasets--Ahmed062646--NLP_Medora_Datasets/snapshots/9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/StressLevelDataset.csv (origin=hf://datasets/Ahmed062646/NLP_Medora_Datasets@9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/StressLevelDataset.csv), /tmp/hf-datasets-cache/medium/datasets/40443973805102-config-parquet-and-info-Ahmed062646-NLP_Medora_Da-4e78ca29/hub/datasets--Ahmed062646--NLP_Medora_Datasets/snapshots/9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/family_history_rare_disease_cleaned.csv (origin=hf://datasets/Ahmed062646/NLP_Medora_Datasets@9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/family_history_rare_disease_cleaned.csv), /tmp/hf-datasets-cache/medium/datasets/40443973805102-config-parquet-and-info-Ahmed062646-NLP_Medora_Da-4e78ca29/hub/datasets--Ahmed062646--NLP_Medora_Datasets/snapshots/9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/heart.csv (origin=hf://datasets/Ahmed062646/NLP_Medora_Datasets@9b4a3b2714fc2b14b19ede2ddaea1445a551f20d/heart.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.
Unnamed: 0 int64 | age int64 | weight(kg) float64 | height(m) float64 | gender string | BMI float64 | BMR float64 | activity_level float64 | calories_to_maintain_weight float64 | BMI_tags int64 | Label int64 |
|---|---|---|---|---|---|---|---|---|---|---|
1 | 2 | 16.097862 | 0.932025 | F | 18.531612 | 958.584 | 1.2 | 1,150.3008 | 8 | 13 |
2 | 4 | 14.619374 | 0.916687 | F | 17.397496 | 932.383 | 1.7 | 1,585.0511 | 7 | 1 |
4 | 4 | 17.899918 | 0.997288 | F | 17.997414 | 977.578 | 1.9 | 1,857.3982 | 7 | 4 |
6 | 3 | 13.53288 | 1.022786 | F | 12.936609 | 944.689 | 1.9 | 1,794.9091 | 7 | 3 |
8 | 4 | 17.039484 | 1.053977 | M | 15.338909 | 799.229 | 1.9 | 1,518.5351 | 7 | 0 |
10 | 3 | 12.032662 | 1.07863 | F | 10.342285 | 939.781 | 1.9 | 1,785.5839 | 7 | 3 |
13 | 2 | 17.794901 | 1.070393 | M | 15.531358 | 831.386 | 1.9 | 1,579.6334 | 7 | 1 |
15 | 3 | 15.789179 | 0.912256 | F | 18.972577 | 947.56 | 1.3 | 1,231.828 | 8 | 13 |
19 | 3 | 13.300541 | 1.068686 | F | 11.645791 | 950.262 | 1.7 | 1,615.4454 | 7 | 1 |
21 | 4 | 15.504307 | 0.900704 | F | 19.111207 | 938.161 | 1.3 | 1,219.6093 | 8 | 13 |
22 | 4 | 17.508939 | 0.969314 | M | 18.635063 | 763.329 | 1.3 | 992.3277 | 8 | 12 |
23 | 5 | 15.328799 | 0.919602 | F | 18.126284 | 934.989 | 1.7 | 1,589.4813 | 7 | 1 |
24 | 3 | 17.769993 | 1.03473 | F | 16.597151 | 987.396 | 1.9 | 1,876.0524 | 7 | 4 |
27 | 4 | 13.547525 | 0.869577 | F | 17.916125 | 914.084 | 1.9 | 1,736.7596 | 7 | 2 |
28 | 5 | 12.227311 | 0.976228 | F | 12.830042 | 914.841 | 1.7 | 1,555.2297 | 7 | 1 |
29 | 2 | 14.133506 | 1.026731 | F | 13.407162 | 955.826 | 1.9 | 1,816.0694 | 7 | 3 |
35 | 4 | 15.464262 | 0.881803 | M | 19.887787 | 691.562 | 1.7 | 1,175.6554 | 8 | 13 |
39 | 3 | 13.736123 | 0.92188 | F | 16.162748 | 929.486 | 1.7 | 1,580.1262 | 7 | 1 |
46 | 3 | 16.160489 | 1.052552 | M | 14.587056 | 793.275 | 1.9 | 1,507.2225 | 7 | 0 |
47 | 5 | 14.009112 | 1.052677 | F | 12.642132 | 944.943 | 1.7 | 1,606.4031 | 7 | 1 |
49 | 3 | 16.894458 | 0.920241 | F | 19.949897 | 959.528 | 1.3 | 1,247.3864 | 8 | 13 |
57 | 2 | 12.73699 | 1.004816 | F | 12.615176 | 938.694 | 1.7 | 1,595.7798 | 7 | 1 |
58 | 5 | 17.376826 | 1.016246 | F | 16.825686 | 971.079 | 1.7 | 1,650.8343 | 7 | 2 |
64 | 3 | 16.36705 | 0.893026 | F | 20.523045 | 949.838 | 1.5 | 1,424.757 | 8 | 14 |
67 | 4 | 17.102881 | 0.961707 | F | 18.49201 | 963.878 | 1.9 | 1,831.3682 | 7 | 3 |
68 | 2 | 17.197292 | 0.872039 | M | 22.614577 | 724.022 | 1.9 | 1,375.6418 | 8 | 14 |
70 | 4 | 14.728941 | 0.876053 | M | 19.191598 | 678.613 | 1.7 | 1,153.6421 | 8 | 13 |
79 | 4 | 17.042242 | 1.076201 | F | 14.714313 | 982.76 | 1.9 | 1,867.244 | 7 | 4 |
84 | 4 | 16.954144 | 0.979565 | F | 17.668877 | 965.486 | 1.9 | 1,834.4234 | 7 | 3 |
85 | 4 | 12.154358 | 0.941159 | F | 13.721636 | 912.879 | 1.9 | 1,734.4701 | 7 | 2 |
86 | 3 | 17.700672 | 1.051633 | F | 16.005206 | 989.604 | 1.7 | 1,682.3268 | 7 | 2 |
91 | 4 | 17.275365 | 1.028168 | F | 16.341778 | 976.832 | 1.7 | 1,660.6144 | 7 | 2 |
92 | 2 | 14.32329 | 0.86232 | M | 19.262185 | 679.789 | 1.5 | 1,019.6835 | 8 | 12 |
94 | 4 | 14.423498 | 0.915 | F | 17.227739 | 930.216 | 1.9 | 1,767.4104 | 7 | 3 |
103 | 2 | 17.544372 | 0.94208 | F | 19.767981 | 974.18 | 1.2 | 1,169.016 | 8 | 13 |
106 | 5 | 12.373341 | 0.960296 | F | 13.417648 | 913.534 | 1.9 | 1,735.7146 | 7 | 2 |
111 | 3 | 15.985863 | 0.89995 | M | 19.737816 | 714.581 | 1.7 | 1,214.7877 | 8 | 13 |
114 | 4 | 15.277207 | 0.876799 | F | 19.872125 | 931.917 | 1.3 | 1,211.4921 | 8 | 13 |
116 | 4 | 12.812082 | 0.99533 | F | 12.932597 | 928.402 | 1.9 | 1,763.9638 | 7 | 3 |
123 | 2 | 17.36321 | 1.028614 | F | 16.410638 | 987.151 | 1.5 | 1,480.7265 | 7 | 0 |
125 | 3 | 17.441773 | 0.910405 | F | 21.043656 | 963.11 | 1.7 | 1,637.287 | 8 | 15 |
126 | 2 | 12.023798 | 1.051509 | F | 10.874661 | 939.785 | 1.9 | 1,785.5915 | 7 | 3 |
136 | 2 | 14.729477 | 0.904783 | F | 17.992803 | 940.816 | 1.9 | 1,787.5504 | 7 | 3 |
148 | 3 | 12.396426 | 0.876894 | F | 16.121396 | 908.978 | 1.7 | 1,545.2626 | 7 | 0 |
149 | 4 | 16.599537 | 0.99082 | F | 16.908551 | 963.995 | 1.7 | 1,638.7915 | 7 | 1 |
150 | 5 | 16.812841 | 0.897879 | M | 20.854788 | 711.275 | 1.9 | 1,351.4225 | 8 | 14 |
151 | 3 | 16.16656 | 1.066244 | M | 14.220153 | 800.204 | 1.9 | 1,520.3876 | 7 | 0 |
152 | 3 | 16.735876 | 1.005205 | F | 16.563006 | 972.449 | 1.5 | 1,458.6735 | 7 | 0 |
153 | 3 | 12.665824 | 0.946988 | F | 14.123568 | 923.48 | 1.9 | 1,754.612 | 7 | 3 |
165 | 3 | 15.380009 | 1.030569 | F | 14.481136 | 963.745 | 1.9 | 1,831.1155 | 7 | 3 |
169 | 4 | 12.804444 | 0.902397 | F | 15.724072 | 912.53 | 1.9 | 1,733.807 | 7 | 2 |
171 | 3 | 16.902872 | 0.92734 | F | 19.655449 | 960.815 | 1.9 | 1,825.5485 | 8 | 16 |
172 | 5 | 15.479251 | 0.897214 | F | 19.229034 | 932.627 | 1.7 | 1,585.4659 | 8 | 15 |
175 | 2 | 16.626627 | 0.857937 | F | 22.588826 | 951.065 | 1.3 | 1,236.3845 | 8 | 13 |
179 | 5 | 17.256058 | 0.960194 | F | 18.716438 | 960.391 | 1.5 | 1,440.5865 | 8 | 14 |
182 | 5 | 17.339377 | 0.945823 | F | 19.382664 | 958.748 | 1.5 | 1,438.122 | 8 | 14 |
185 | 3 | 16.374593 | 0.926743 | F | 19.065654 | 955.642 | 1.7 | 1,624.5914 | 8 | 15 |
188 | 3 | 13.351605 | 0.902129 | F | 16.405755 | 922.437 | 1.9 | 1,752.6303 | 7 | 3 |
191 | 5 | 16.620702 | 1.000329 | F | 16.609765 | 961.115 | 1.9 | 1,826.1185 | 7 | 3 |
197 | 4 | 17.431571 | 1.033942 | M | 16.305886 | 794.583 | 1.9 | 1,509.7077 | 7 | 0 |
199 | 4 | 15.314937 | 0.884362 | M | 19.581915 | 690.796 | 1.7 | 1,174.3532 | 8 | 13 |
202 | 3 | 12.137511 | 1.059646 | F | 10.809553 | 937.56 | 1.9 | 1,781.364 | 7 | 3 |
203 | 4 | 13.966497 | 0.975316 | F | 14.682379 | 936.082 | 1.7 | 1,591.3394 | 7 | 1 |
213 | 4 | 12.093668 | 0.897234 | F | 15.022648 | 904.829 | 1.9 | 1,719.1751 | 7 | 2 |
216 | 4 | 14.677911 | 0.860156 | F | 19.83854 | 923.334 | 1.9 | 1,754.3346 | 8 | 16 |
223 | 4 | 16.971428 | 1.045129 | M | 15.537412 | 793.873 | 1.9 | 1,508.3587 | 7 | 0 |
230 | 4 | 12.272157 | 1.062752 | F | 10.865678 | 934.681 | 1.9 | 1,775.8939 | 7 | 3 |
232 | 3 | 15.347959 | 0.862133 | M | 20.649143 | 686.934 | 1.7 | 1,167.7878 | 8 | 13 |
235 | 3 | 13.062553 | 0.900755 | F | 16.099598 | 919.429 | 1.9 | 1,746.9151 | 7 | 2 |
238 | 2 | 16.692406 | 0.879009 | M | 21.603926 | 720.59 | 1.7 | 1,225.003 | 8 | 13 |
240 | 4 | 15.523085 | 1.060457 | F | 13.803595 | 965.499 | 1.7 | 1,641.3483 | 7 | 1 |
241 | 3 | 16.472962 | 1.036011 | M | 15.3477 | 789.285 | 1.9 | 1,499.6415 | 7 | 0 |
245 | 4 | 13.86684 | 1.078327 | M | 11.925491 | 767.939 | 1.9 | 1,459.0841 | 7 | 0 |
246 | 5 | 12.880734 | 0.887167 | F | 16.365506 | 905.974 | 1.9 | 1,721.3506 | 7 | 2 |
250 | 3 | 13.920904 | 0.90251 | F | 17.09083 | 927.967 | 1.9 | 1,763.1373 | 7 | 3 |
251 | 3 | 15.37128 | 1.03141 | F | 14.44931 | 963.804 | 1.7 | 1,638.4668 | 7 | 1 |
252 | 3 | 17.369846 | 0.86099 | F | 23.43148 | 954.019 | 1.3 | 1,240.2247 | 8 | 13 |
253 | 3 | 16.206797 | 0.999965 | F | 16.207931 | 966.479 | 1.9 | 1,836.3101 | 7 | 3 |
255 | 3 | 14.21855 | 1.021274 | F | 13.632349 | 951.015 | 1.9 | 1,806.9285 | 7 | 3 |
263 | 3 | 13.040275 | 0.873605 | F | 17.086633 | 914.599 | 1.7 | 1,554.8183 | 7 | 1 |
264 | 2 | 16.701685 | 0.929452 | F | 19.333299 | 963.943 | 1.5 | 1,445.9145 | 8 | 14 |
265 | 4 | 17.590412 | 1.033655 | M | 16.46361 | 796.616 | 1.9 | 1,513.5704 | 7 | 0 |
266 | 3 | 15.026153 | 0.867035 | F | 19.988219 | 932.547 | 1.3 | 1,212.3111 | 8 | 13 |
267 | 4 | 15.120325 | 0.900727 | F | 18.636963 | 934.479 | 1.5 | 1,401.7185 | 8 | 14 |
271 | 5 | 12.877279 | 0.985651 | F | 13.254941 | 922.683 | 1.7 | 1,568.5611 | 7 | 1 |
275 | 4 | 15.801071 | 0.888982 | F | 19.994058 | 939.017 | 1.7 | 1,596.3289 | 8 | 15 |
286 | 3 | 15.615096 | 1.067485 | F | 13.703161 | 972.277 | 1.9 | 1,847.3263 | 7 | 3 |
288 | 3 | 14.630588 | 0.949596 | F | 16.224972 | 942.785 | 1.9 | 1,791.2915 | 7 | 3 |
293 | 3 | 15.348171 | 1.050226 | F | 13.915262 | 966.781 | 1.5 | 1,450.1715 | 7 | 0 |
296 | 2 | 17.575396 | 0.953759 | M | 19.320924 | 770.062 | 1.5 | 1,155.093 | 8 | 13 |
297 | 4 | 12.380182 | 0.877143 | F | 16.091131 | 904.164 | 1.9 | 1,717.9116 | 7 | 2 |
298 | 4 | 17.627742 | 0.887496 | F | 22.380172 | 956.301 | 1.9 | 1,816.9719 | 8 | 16 |
299 | 5 | 14.766357 | 1.048003 | F | 13.444612 | 951.418 | 1.9 | 1,807.6942 | 7 | 3 |
300 | 3 | 17.508295 | 0.977599 | F | 18.319858 | 975.172 | 1.5 | 1,462.758 | 7 | 0 |
302 | 5 | 15.850149 | 0.90277 | F | 19.448192 | 937.132 | 1.3 | 1,218.2716 | 8 | 13 |
313 | 2 | 14.476835 | 0.863774 | M | 19.403219 | 682.619 | 1.5 | 1,023.9285 | 8 | 12 |
319 | 3 | 15.790098 | 0.907607 | F | 19.168537 | 946.778 | 1.7 | 1,609.5226 | 8 | 15 |
321 | 4 | 15.15188 | 1.036915 | F | 14.092256 | 957.934 | 1.7 | 1,628.4878 | 7 | 1 |
323 | 5 | 12.214241 | 0.965385 | F | 13.105862 | 912.872 | 1.7 | 1,551.8824 | 7 | 1 |
329 | 3 | 16.17711 | 1.037974 | F | 15.0151 | 972.656 | 1.5 | 1,458.984 | 7 | 0 |
End of preview.
README.md exists but content is empty.
- Downloads last month
- 11