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 2 new columns ({'name', 'description'}) and 2 missing columns ({'from_knowledgecomponent_id', 'to_knowledgecomponent_id'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Unggi/dbe-kt22_raw_data/KCs.csv (at revision be0a892587b7758f0741afa5f3863fe2790b36f3)

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
              id: int64
              name: string
              description: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 591
              to
              {'id': Value('int64'), 'from_knowledgecomponent_id': Value('int64'), 'to_knowledgecomponent_id': 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 1455, 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 1054, 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 2 new columns ({'name', 'description'}) and 2 missing columns ({'from_knowledgecomponent_id', 'to_knowledgecomponent_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Unggi/dbe-kt22_raw_data/KCs.csv (at revision be0a892587b7758f0741afa5f3863fe2790b36f3)
              
              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.

id
int64
from_knowledgecomponent_id
int64
to_knowledgecomponent_id
int64
595
54
53
596
53
54
397
53
56
398
53
48
501
59
57
502
57
59
505
96
94
506
94
96
402
56
53
19
15
14
20
14
15
403
48
53
305
26
22
306
22
26
314
89
81
31
20
14
32
14
20
316
81
89
419
40
32
420
32
40
424
64
67
425
64
68
426
64
69
427
64
14
513
99
95
514
95
99
429
67
64
430
68
64
517
42
33
518
33
42
537
102
93
538
93
102
541
91
97
542
91
92
543
91
94
544
91
95
545
97
91
546
92
91
547
94
91
548
95
91
551
98
95
552
95
98
557
55
53
558
53
55
345
80
89
346
80
81
348
80
85
349
89
80
350
81
80
352
85
80
359
56
50
561
88
80
562
88
81
431
69
64
363
50
56
563
80
88
564
81
88
432
14
64
567
103
93
100
19
14
568
93
103
102
14
19
587
21
32
104
27
14
588
21
28
106
14
27
589
21
22
108
34
14
590
21
23
110
14
34
591
32
21
592
28
21
593
22
21
594
23
21
386
28
35
387
28
29
388
28
30
389
28
31
391
35
28
392
29
28
393
30
28
394
31
28
456
93
92
457
93
101
461
92
93
462
101
93
473
52
19
475
52
34
476
52
27
477
19
52
479
34
52
480
27
52
201
77
76
202
76
77
407
45
56
408
45
48
409
45
51
410
45
53
499
84
81
500
81
84
End of preview.

No dataset card yet

Downloads last month
20