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 5 new columns ({'description', 'type', 'constraints', 'nullable', 'name'}) and 5 missing columns ({'date', 'ceiling_amount_million_pkr', 'floor_institutions', 'floor_amount_million_pkr', 'ceiling_institutions'}).
This happened while the csv dataset builder was generating data using
hf://datasets/opendoc-pakistan/pakistan_interest_rate_corridor/data_dictionary.csv (at revision 1da1d4af12dcc317f892ae3522597feab7a0b2ab), ['hf://datasets/opendoc-pakistan/pakistan_interest_rate_corridor@1da1d4af12dcc317f892ae3522597feab7a0b2ab/data/processed/interest_rate_corridor.csv', 'hf://datasets/opendoc-pakistan/pakistan_interest_rate_corridor@1da1d4af12dcc317f892ae3522597feab7a0b2ab/data_dictionary.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 1837, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/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.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
name: string
type: string
description: string
nullable: bool
constraints: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 848
to
{'date': Value('string'), 'ceiling_amount_million_pkr': Value('int64'), 'ceiling_institutions': Value('int64'), 'floor_amount_million_pkr': Value('int64'), 'floor_institutions': 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 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 1683, 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 1839, 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 5 new columns ({'description', 'type', 'constraints', 'nullable', 'name'}) and 5 missing columns ({'date', 'ceiling_amount_million_pkr', 'floor_institutions', 'floor_amount_million_pkr', 'ceiling_institutions'}).
This happened while the csv dataset builder was generating data using
hf://datasets/opendoc-pakistan/pakistan_interest_rate_corridor/data_dictionary.csv (at revision 1da1d4af12dcc317f892ae3522597feab7a0b2ab), ['hf://datasets/opendoc-pakistan/pakistan_interest_rate_corridor@1da1d4af12dcc317f892ae3522597feab7a0b2ab/data/processed/interest_rate_corridor.csv', 'hf://datasets/opendoc-pakistan/pakistan_interest_rate_corridor@1da1d4af12dcc317f892ae3522597feab7a0b2ab/data_dictionary.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.
date string | ceiling_amount_million_pkr int64 | ceiling_institutions int64 | floor_amount_million_pkr int64 | floor_institutions int64 |
|---|---|---|---|---|
2009-08-13 | 2,340 | 1 | 0 | 0 |
2009-08-21 | 0 | 0 | 6,550 | 9 |
2009-08-28 | 0 | 0 | 12,100 | 8 |
2009-08-31 | 11,200 | 8 | 0 | 0 |
2009-09-04 | 2,800 | 1 | 0 | 0 |
2009-09-09 | 0 | 0 | 900 | 1 |
2009-09-10 | 0 | 0 | 7,200 | 2 |
2009-09-11 | 0 | 0 | 7,350 | 4 |
2009-09-16 | 700 | 1 | 0 | 0 |
2009-09-18 | 10,800 | 1 | 0 | 0 |
2009-09-19 | 0 | 0 | 13,500 | 1 |
2009-09-24 | 0 | 0 | 11,500 | 2 |
2009-09-25 | 0 | 0 | 12,500 | 3 |
2009-09-26 | 10,800 | 11 | 0 | 0 |
2009-09-28 | 5,600 | 4 | 0 | 0 |
2009-09-29 | 28,850 | 16 | 0 | 0 |
2009-09-30 | 54,250 | 13 | 0 | 0 |
2009-10-02 | 0 | 0 | 6,800 | 7 |
2009-10-09 | 0 | 0 | 2,500 | 1 |
2009-10-13 | 1,000 | 1 | 0 | 0 |
2009-10-16 | 8,600 | 4 | 0 | 0 |
2009-10-23 | 0 | 0 | 2,800 | 2 |
2009-10-29 | 0 | 0 | 800 | 1 |
2009-10-30 | 0 | 0 | 11,150 | 5 |
2009-11-02 | 0 | 0 | 2,500 | 1 |
2009-11-04 | 6,050 | 2 | 0 | 0 |
2009-11-06 | 1,250 | 1 | 0 | 0 |
2009-11-07 | 9,200 | 5 | 0 | 0 |
2009-11-12 | 1,850 | 1 | 0 | 0 |
2009-11-13 | 15,350 | 8 | 0 | 0 |
2009-11-20 | 0 | 0 | 5,200 | 3 |
2009-11-24 | 0 | 0 | 6,100 | 1 |
2009-11-26 | 9,300 | 3 | 0 | 0 |
2009-12-04 | 0 | 0 | 2,150 | 3 |
2009-12-09 | 0 | 0 | 5,000 | 1 |
2009-12-10 | 0 | 0 | 3,700 | 3 |
2009-12-11 | 0 | 0 | 15,050 | 13 |
2009-12-17 | 6,600 | 5 | 0 | 0 |
2009-12-18 | 36,350 | 15 | 0 | 0 |
2009-12-23 | 0 | 0 | 9,450 | 5 |
2009-12-24 | 0 | 0 | 24,350 | 16 |
2009-12-25 | 0 | 0 | 24,350 | 16 |
2009-12-26 | 0 | 0 | 9,800 | 3 |
2009-12-31 | 26,200 | 6 | 0 | 0 |
2010-01-06 | 0 | 0 | 6,000 | 1 |
2010-01-08 | 12,750 | 9 | 0 | 0 |
2010-01-09 | 1,050 | 2 | 0 | 0 |
2010-01-11 | 6,650 | 3 | 0 | 0 |
2010-01-15 | 9,400 | 3 | 0 | 0 |
2010-01-19 | 3,800 | 1 | 0 | 0 |
2010-01-21 | 0 | 0 | 24,750 | 9 |
2010-01-22 | 0 | 0 | 8,850 | 10 |
2010-01-29 | 17,850 | 6 | 0 | 0 |
2010-02-04 | 3,050 | 1 | 0 | 0 |
2010-02-10 | 13,700 | 8 | 0 | 0 |
2010-02-12 | 21,150 | 7 | 0 | 0 |
2010-02-18 | 3,800 | 1 | 0 | 0 |
2010-02-19 | 6,700 | 5 | 0 | 0 |
2010-02-25 | 0 | 0 | 6,000 | 1 |
2010-02-26 | 0 | 0 | 2,100 | 1 |
2010-03-05 | 0 | 0 | 8,850 | 6 |
2010-03-06 | 8,300 | 8 | 0 | 0 |
2010-03-07 | 8,300 | 8 | 0 | 0 |
2010-03-08 | 950 | 4 | 0 | 0 |
2010-03-09 | 13,300 | 9 | 0 | 0 |
2010-03-12 | 15,600 | 5 | 0 | 0 |
2010-03-18 | 5,700 | 3 | 0 | 0 |
2010-03-19 | 18,350 | 8 | 0 | 0 |
2010-03-22 | 0 | 0 | 6,000 | 1 |
2010-03-24 | 0 | 0 | 5,100 | 1 |
2010-03-25 | 0 | 0 | 1,800 | 2 |
2010-03-26 | 0 | 0 | 12,800 | 2 |
2010-03-30 | 0 | 0 | 11,000 | 3 |
2010-04-01 | 0 | 0 | 19,600 | 8 |
2010-04-02 | 0 | 0 | 21,750 | 11 |
2010-04-09 | 1,000 | 1 | 0 | 0 |
2010-04-13 | 4,500 | 1 | 0 | 0 |
2010-04-15 | 15,000 | 9 | 0 | 0 |
2010-04-16 | 29,800 | 18 | 0 | 0 |
2010-04-22 | 0 | 0 | 11,550 | 4 |
2010-04-23 | 0 | 0 | 20,400 | 11 |
2010-04-24 | 0 | 0 | 20,400 | 11 |
2010-04-29 | 0 | 0 | 3,200 | 2 |
2010-04-30 | 0 | 0 | 81,600 | 8 |
2010-05-05 | 10,650 | 4 | 0 | 0 |
2010-05-06 | 65,850 | 9 | 0 | 0 |
2010-05-07 | 0 | 0 | 16,500 | 1 |
2010-05-11 | 0 | 0 | 7,700 | 1 |
2010-05-13 | 0 | 0 | 2,800 | 2 |
2010-05-19 | 2,800 | 5 | 0 | 0 |
2010-05-20 | 37,150 | 15 | 0 | 0 |
2010-05-27 | 4,100 | 1 | 0 | 0 |
2010-05-31 | 1,100 | 2 | 0 | 0 |
2010-06-03 | 0 | 0 | 7,300 | 3 |
2010-06-07 | 0 | 0 | 5,500 | 1 |
2010-06-09 | 4,500 | 6 | 0 | 0 |
2010-06-10 | 27,900 | 11 | 0 | 0 |
2010-06-16 | 11,650 | 7 | 0 | 0 |
2010-06-17 | 77,100 | 18 | 0 | 0 |
2010-06-23 | 0 | 0 | 7,300 | 3 |
End of preview.