anderdnavarro/OncoGAN
Updated
•
2
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 2 new columns ({'SBS19', 'SBS23'}) and 5 missing columns ({'SBS3', 'TNP', 'SBS18', 'SBS13', 'SBS2'}). This happened while the csv dataset builder was generating data using hf://datasets/anderdnavarro/OncoGAN-training_files/donor_characteristics/CNS-PiloAstro_counts.csv (at revision b680fa0b3449298fd4fa5f3d3dbceb0db75571b3) 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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1869, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 580, in write_table pa_table = table_cast(pa_table, self._schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema raise CastError( datasets.table.CastError: Couldn't cast DEL: int64 INS: int64 DNP: int64 SBS1: int64 SBS5: int64 SBS8: int64 SBS19: int64 SBS23: int64 -- schema metadata -- pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1098 to {'DEL': Value(dtype='int64', id=None), 'DNP': Value(dtype='int64', id=None), 'INS': Value(dtype='int64', id=None), 'TNP': Value(dtype='int64', id=None), 'SBS1': Value(dtype='int64', id=None), 'SBS2': Value(dtype='int64', id=None), 'SBS3': Value(dtype='int64', id=None), 'SBS5': Value(dtype='int64', id=None), 'SBS8': Value(dtype='int64', id=None), 'SBS13': Value(dtype='int64', id=None), 'SBS18': Value(dtype='int64', id=None)} 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 1392, 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 1041, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 999, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1740, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, 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 2 new columns ({'SBS19', 'SBS23'}) and 5 missing columns ({'SBS3', 'TNP', 'SBS18', 'SBS13', 'SBS2'}). This happened while the csv dataset builder was generating data using hf://datasets/anderdnavarro/OncoGAN-training_files/donor_characteristics/CNS-PiloAstro_counts.csv (at revision b680fa0b3449298fd4fa5f3d3dbceb0db75571b3) 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.
DEL
int64 | DNP
int64 | INS
int64 | TNP
int64 | SBS1
int64 | SBS2
int64 | SBS3
int64 | SBS5
int64 | SBS8
int64 | SBS13
int64 | SBS18
int64 |
---|---|---|---|---|---|---|---|---|---|---|
335 | 28 | 46 | 0 | 261 | 348 | 4,035 | 825 | 0 | 702 | 0 |
689 | 69 | 94 | 2 | 140 | 508 | 0 | 3,000 | 1,809 | 590 | 0 |
278 | 39 | 38 | 1 | 263 | 349 | 3,388 | 719 | 0 | 481 | 0 |
1,010 | 125 | 190 | 2 | 313 | 435 | 0 | 6,376 | 4,239 | 887 | 0 |
281 | 50 | 49 | 0 | 244 | 1,177 | 3,054 | 750 | 0 | 1,663 | 0 |
546 | 71 | 65 | 1 | 523 | 0 | 8,798 | 1,841 | 0 | 0 | 0 |
92 | 13 | 47 | 0 | 448 | 163 | 0 | 1,986 | 659 | 97 | 0 |
58 | 6 | 28 | 0 | 157 | 284 | 0 | 1,212 | 0 | 467 | 0 |
53 | 5 | 50 | 1 | 337 | 132 | 0 | 908 | 0 | 109 | 556 |
363 | 52 | 348 | 1 | 1,019 | 910 | 4,450 | 3,393 | 0 | 1,493 | 0 |
1,070 | 106 | 152 | 6 | 405 | 261 | 4,497 | 2,816 | 2,147 | 414 | 0 |
682 | 90 | 111 | 1 | 201 | 539 | 3,765 | 1,893 | 1,818 | 938 | 0 |
60 | 10 | 32 | 0 | 351 | 405 | 0 | 3,495 | 0 | 685 | 0 |
135 | 18 | 114 | 0 | 733 | 784 | 0 | 2,792 | 1,097 | 376 | 0 |
107 | 15 | 53 | 0 | 326 | 2,729 | 0 | 1,496 | 0 | 2,653 | 0 |
105 | 14 | 70 | 0 | 215 | 160 | 0 | 1,475 | 528 | 143 | 0 |
230 | 26 | 87 | 0 | 627 | 817 | 0 | 2,849 | 0 | 662 | 1,035 |
450 | 94 | 78 | 3 | 325 | 777 | 3,995 | 2,712 | 2,405 | 335 | 0 |
221 | 94 | 120 | 1 | 532 | 31,927 | 0 | 1,518 | 0 | 31,276 | 0 |
135 | 10 | 57 | 0 | 410 | 0 | 0 | 2,099 | 0 | 0 | 462 |
108 | 6 | 48 | 0 | 403 | 133 | 0 | 2,081 | 0 | 102 | 0 |
156 | 10 | 140 | 0 | 389 | 232 | 0 | 2,108 | 0 | 0 | 398 |
60 | 3 | 41 | 0 | 348 | 0 | 0 | 1,279 | 0 | 0 | 0 |
104 | 3 | 68 | 0 | 362 | 314 | 0 | 1,463 | 0 | 85 | 328 |
122 | 40 | 64 | 0 | 241 | 21,397 | 0 | 1,773 | 0 | 12,784 | 0 |
91 | 5 | 73 | 0 | 311 | 0 | 0 | 1,601 | 399 | 0 | 0 |
63 | 10 | 37 | 0 | 222 | 601 | 0 | 1,427 | 0 | 306 | 462 |
165 | 23 | 155 | 1 | 431 | 489 | 0 | 3,641 | 0 | 267 | 1,121 |
87 | 2 | 41 | 0 | 204 | 1,162 | 0 | 1,086 | 0 | 721 | 0 |
131 | 5 | 97 | 0 | 574 | 346 | 0 | 2,378 | 0 | 362 | 0 |
70 | 2 | 55 | 0 | 327 | 0 | 0 | 1,030 | 0 | 0 | 589 |
78 | 8 | 134 | 0 | 374 | 0 | 0 | 1,261 | 0 | 0 | 498 |
115 | 9 | 84 | 1 | 489 | 0 | 0 | 1,839 | 0 | 0 | 0 |
67 | 7 | 71 | 0 | 266 | 0 | 0 | 911 | 0 | 0 | 337 |
78 | 4 | 76 | 0 | 257 | 0 | 0 | 1,041 | 0 | 0 | 203 |
90 | 22 | 36 | 0 | 521 | 137 | 0 | 1,508 | 747 | 129 | 0 |
42 | 2 | 63 | 0 | 184 | 679 | 0 | 895 | 0 | 546 | 0 |
114 | 11 | 46 | 0 | 409 | 330 | 0 | 1,646 | 0 | 175 | 0 |
101 | 10 | 54 | 0 | 246 | 3,740 | 0 | 1,428 | 0 | 3,082 | 0 |
60 | 5 | 29 | 0 | 249 | 252 | 0 | 920 | 0 | 73 | 0 |
80 | 5 | 41 | 0 | 379 | 212 | 0 | 1,221 | 0 | 438 | 0 |
460 | 44 | 120 | 3 | 296 | 0 | 1,921 | 1,542 | 984 | 0 | 0 |
145 | 17 | 88 | 1 | 417 | 0 | 0 | 2,147 | 0 | 0 | 759 |
379 | 31 | 124 | 0 | 343 | 200 | 0 | 1,707 | 1,327 | 101 | 747 |
97 | 59 | 61 | 2 | 178 | 30,541 | 0 | 1,015 | 0 | 24,038 | 0 |
70 | 2 | 76 | 0 | 344 | 121 | 0 | 997 | 0 | 0 | 327 |
102 | 21 | 36 | 0 | 262 | 4,941 | 0 | 1,328 | 0 | 6,227 | 0 |
94 | 3 | 48 | 0 | 213 | 0 | 0 | 1,636 | 0 | 0 | 0 |
85 | 13 | 33 | 0 | 344 | 858 | 0 | 1,770 | 0 | 1,021 | 0 |
620 | 111 | 108 | 2 | 285 | 304 | 4,258 | 1,752 | 0 | 334 | 888 |
105 | 5 | 51 | 0 | 416 | 0 | 0 | 1,336 | 0 | 0 | 0 |
981 | 129 | 151 | 2 | 308 | 541 | 4,466 | 2,088 | 1,876 | 783 | 0 |
53 | 5 | 42 | 0 | 246 | 0 | 0 | 817 | 0 | 0 | 202 |
92 | 4 | 57 | 0 | 399 | 0 | 0 | 1,384 | 0 | 0 | 0 |
463 | 36 | 82 | 2 | 216 | 0 | 0 | 1,817 | 0 | 0 | 0 |
141 | 65 | 38 | 1 | 398 | 0 | 3,872 | 1,309 | 0 | 0 | 0 |
47 | 2 | 57 | 0 | 220 | 0 | 0 | 865 | 254 | 0 | 0 |
534 | 87 | 71 | 1 | 290 | 280 | 3,873 | 1,090 | 0 | 432 | 0 |
279 | 8 | 112 | 0 | 778 | 1,340 | 0 | 3,360 | 0 | 268 | 0 |
60 | 4 | 23 | 0 | 222 | 208 | 0 | 1,441 | 0 | 0 | 0 |
330 | 34 | 78 | 0 | 281 | 549 | 0 | 1,881 | 0 | 0 | 0 |
133 | 10 | 83 | 0 | 551 | 117 | 0 | 2,027 | 0 | 192 | 0 |
83 | 2 | 76 | 0 | 285 | 0 | 0 | 1,444 | 0 | 0 | 268 |
192 | 9 | 112 | 0 | 353 | 0 | 0 | 2,510 | 0 | 0 | 0 |
115 | 20 | 36 | 0 | 332 | 385 | 0 | 2,612 | 0 | 1,150 | 0 |
107 | 14 | 64 | 0 | 530 | 306 | 0 | 2,357 | 0 | 324 | 678 |
78 | 6 | 31 | 0 | 278 | 0 | 0 | 1,044 | 363 | 0 | 0 |
175 | 23 | 85 | 0 | 461 | 0 | 2,140 | 2,066 | 0 | 0 | 613 |
98 | 3 | 106 | 0 | 295 | 100 | 0 | 1,544 | 0 | 95 | 0 |
79 | 2 | 46 | 0 | 345 | 346 | 0 | 1,153 | 0 | 222 | 0 |
51 | 4 | 56 | 0 | 278 | 263 | 0 | 960 | 0 | 258 | 295 |
786 | 79 | 119 | 3 | 394 | 302 | 3,101 | 1,739 | 1,934 | 304 | 0 |
310 | 40 | 54 | 0 | 249 | 1,080 | 0 | 2,632 | 1,500 | 1,295 | 0 |
773 | 84 | 117 | 3 | 372 | 565 | 5,874 | 1,625 | 0 | 735 | 0 |
55 | 2 | 30 | 0 | 174 | 0 | 0 | 723 | 218 | 0 | 0 |
399 | 80 | 73 | 1 | 232 | 830 | 0 | 3,552 | 2,303 | 1,421 | 0 |
90 | 11 | 36 | 0 | 231 | 0 | 0 | 1,361 | 359 | 0 | 0 |
48 | 4 | 40 | 0 | 499 | 148 | 0 | 1,773 | 0 | 88 | 0 |
123 | 7 | 87 | 0 | 299 | 521 | 0 | 1,652 | 0 | 540 | 549 |
111 | 5 | 42 | 1 | 273 | 118 | 0 | 1,117 | 0 | 0 | 214 |
66 | 27 | 73 | 0 | 242 | 2,935 | 0 | 2,885 | 0 | 3,234 | 0 |
84 | 6 | 67 | 0 | 396 | 0 | 0 | 1,175 | 0 | 0 | 333 |
262 | 26 | 221 | 1 | 1,032 | 236 | 0 | 3,909 | 0 | 452 | 1,300 |
126 | 7 | 43 | 0 | 418 | 159 | 0 | 1,323 | 436 | 83 | 0 |
57 | 5 | 24 | 0 | 273 | 797 | 0 | 1,345 | 0 | 223 | 0 |
92 | 1 | 99 | 0 | 519 | 122 | 0 | 1,416 | 0 | 0 | 0 |
951 | 99 | 151 | 2 | 274 | 6,516 | 8,996 | 302 | 0 | 7,347 | 0 |
111 | 6 | 75 | 0 | 492 | 350 | 0 | 1,686 | 0 | 0 | 0 |
524 | 33 | 351 | 1 | 279 | 0 | 0 | 6,575 | 0 | 0 | 1,858 |
194 | 23 | 232 | 0 | 450 | 0 | 0 | 3,219 | 0 | 0 | 1,565 |
249 | 20 | 116 | 0 | 379 | 172 | 2,089 | 1,748 | 0 | 275 | 0 |
452 | 37 | 57 | 1 | 365 | 0 | 0 | 2,838 | 1,858 | 0 | 0 |
190 | 25 | 208 | 0 | 333 | 0 | 0 | 2,419 | 0 | 0 | 1,228 |
517 | 104 | 72 | 4 | 274 | 622 | 6,037 | 1,865 | 0 | 1,257 | 0 |
240 | 29 | 165 | 0 | 707 | 287 | 2,334 | 2,363 | 0 | 331 | 684 |
173 | 13 | 141 | 0 | 384 | 0 | 0 | 2,102 | 0 | 0 | 439 |
90 | 5 | 67 | 0 | 553 | 0 | 0 | 1,616 | 0 | 0 | 511 |
115 | 10 | 82 | 1 | 391 | 0 | 0 | 2,512 | 0 | 0 | 0 |
191 | 13 | 75 | 0 | 464 | 144 | 0 | 1,850 | 0 | 79 | 755 |
448 | 33 | 414 | 1 | 978 | 412 | 0 | 6,271 | 0 | 388 | 1,963 |