The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
list<item: struct<section_id: string, title: string>>
to
{'section_id': Value('string'), 'title': Value('string')}
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 674, 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 2224, in cast_table_to_schema
cast_array_to_feature(
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2092, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
list<item: struct<section_id: string, title: string>>
to
{'section_id': Value('string'), 'title': Value('string')}
The above exception was the direct cause of the following exception:
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 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, 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 1919, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
source_file
string | title
string | table_of_contents
dict | front_matter
string | chapters
dict |
|---|---|---|---|---|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1",
"title": "Introduction to Life Sciences"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
| {"chapter_id":"1","content":"Chapter 1.\nIntroduction to Life Sciences\n\n• Medical doctor or nurs(...TRUNCATED)
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.1",
"title": "About this chapter"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
|
{
"chapter_id": "1.1",
"content": "",
"title": "About this chapter"
}
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.2",
"title": "What is Life Sciences?"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
|
{
"chapter_id": "1.2",
"content": "",
"title": "What is Life Sciences?"
}
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.3",
"title": "Why study Life Sciences?"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
|
{
"chapter_id": "1.3",
"content": "",
"title": "Why study Life Sciences?"
}
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.4",
"title": "How science works"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
| {"chapter_id":"1.4","content":"1.4\nHow science works\nDUMMY\nScience investigation and research req(...TRUNCATED)
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.5",
"title": "Biological drawings and diagrams"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
| {"chapter_id":"1.5","content":"1.5\nBiological drawings and diagrams\nDUMMY\nDrawings and diagrams a(...TRUNCATED)
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.6",
"title": "Tables"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
| {"chapter_id":"1.6","content":"1.6\nTables\nDUMMY\nWhat is a table?\n• A table is a summary of dat(...TRUNCATED)
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.7",
"title": "How to draw graphs in Science"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
| {"chapter_id":"1.7","content":"1.7\nHow to draw graphs in Science\nDUMMY\nPresenting data graphicall(...TRUNCATED)
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.8",
"title": "Mathematical skills in Life Sciences"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
| {"chapter_id":"1.8","content":"1.8\nMathematical skills in Life Sciences\nDUMMY\nMathematical skills(...TRUNCATED)
|
Gr10_LifeSciences_Learner_Eng.txt
|
Grade 10 LifeSciences
|
{
"section_id": "1.9",
"title": "Lab safety procedures"
}
| "GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
| {"chapter_id":"1.9","content":"1.9\nLab safety procedures\nDUMMY\nThe Life Science Laboratory has ru(...TRUNCATED)
|
End of preview.