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 7 new columns ({'copies', 'valid_loans', 'title', 'closed_loans', 'overdue_loans', 'available_copies', 'active_loans'}) and 4 missing columns ({'decision', 'reason', 'circulation_status', 'loan_id'}).
This happened while the csv dataset builder was generating data using
hf://datasets/SOTAagi2030/Library-Circulation-Audit-270/reports/title-status.csv (at revision 945b549c103151718c204b2f30690e658f50058c), ['hf://datasets/SOTAagi2030/Library-Circulation-Audit-270@945b549c103151718c204b2f30690e658f50058c/data/loan-audit.csv', 'hf://datasets/SOTAagi2030/Library-Circulation-Audit-270@945b549c103151718c204b2f30690e658f50058c/reports/title-status.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 784, 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 795, 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
book_id: string
title: string
branch: string
copies: int64
valid_loans: int64
closed_loans: int64
active_loans: int64
overdue_loans: int64
available_copies: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1335
to
{'loan_id': Value('string'), 'book_id': Value('string'), 'branch': Value('string'), 'decision': Value('string'), 'reason': Value('string'), 'circulation_status': 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 7 new columns ({'copies', 'valid_loans', 'title', 'closed_loans', 'overdue_loans', 'available_copies', 'active_loans'}) and 4 missing columns ({'decision', 'reason', 'circulation_status', 'loan_id'}).
This happened while the csv dataset builder was generating data using
hf://datasets/SOTAagi2030/Library-Circulation-Audit-270/reports/title-status.csv (at revision 945b549c103151718c204b2f30690e658f50058c), ['hf://datasets/SOTAagi2030/Library-Circulation-Audit-270@945b549c103151718c204b2f30690e658f50058c/data/loan-audit.csv', 'hf://datasets/SOTAagi2030/Library-Circulation-Audit-270@945b549c103151718c204b2f30690e658f50058c/reports/title-status.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.
loan_id string | book_id string | branch string | decision string | reason string | circulation_status string |
|---|---|---|---|---|---|
L-100 | B-17 | North Annex | VALID | valid | OVERDUE |
L-101 | B-04 | Central | VALID | valid | CLOSED |
L-102 | B-91 | Harbor | VALID | valid | OVERDUE |
L-103 | B-33 | North Annex | INVALID | checkout_after_cutoff | null |
L-104 | B-62 | Archive | INVALID | branch_not_in_scope | null |
L-105 | B-17 | Central | INVALID | branch_does_not_match_catalog | null |
L-106 | B-XX | Central | INVALID | unknown_book | null |
L-107 | B-04 | Central | INVALID | return_before_checkout | null |
L-108 | B-04 | Central | VALID | valid | OPEN_AS_OF_CUTOFF |
L-109 | B-91 | Harbor | VALID | valid | OPEN_AS_OF_CUTOFF |
null | B-17 | North Annex | null | null | null |
null | B-04 | Central | null | null | null |
null | B-91 | Harbor | null | null | null |
null | B-33 | North Annex | null | null | null |
null | B-62 | Archive | null | null | null |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
- Downloads last month
- 62