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 15 new columns ({'total_facility_amount_million_pkr_rolling_30_obs_avg', 'total_facility_amount_million_pkr_rolling_7_obs_avg', 'net_floor_minus_ceiling_amount_million_pkr_lag_1', 'ceiling_institutions', 'net_floor_minus_ceiling_amount_million_pkr_rolling_7_obs_avg', 'target_next_obs_facility_direction', 'net_floor_minus_ceiling_amount_million_pkr', 'observation_id', 'total_facility_amount_million_pkr_lag_1', 'floor_institutions', 'total_facility_amount_million_pkr', 'net_floor_minus_ceiling_amount_million_pkr_rolling_30_obs_avg', 'target_next_obs_total_facility_amount_million_pkr', 'ceiling_amount_million_pkr', 'floor_amount_million_pkr'}) and 13 missing columns ({'yield_rolling_3_auction_avg_pct', 'target_next_auction_yield_direction', 'yield_lag_3_auction_pct', 'amount_million_pkr', 'target_next_auction_yield_pct', 'tenor', 'instrument', 'weighted_average_yield_pct', 'amount_lag_1_auction_million_pkr', 'auction_number', 'coupon_rate_pct', 'yield_change_from_previous_pct_points', 'yield_lag_1_auction_pct'}).

This happened while the csv dataset builder was generating data using

hf://datasets/opendoc-pakistan/pakistan_finance_ml_features/data/processed/interest_corridor_daily_features.csv (at revision 476b317c8e33789abc919df7a76916c9bcd15287), ['hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/data/processed/government_securities_yield_features.csv', 'hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/data/processed/interest_corridor_daily_features.csv', 'hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/data/processed/monthly_macro_inflation_features.csv', 'hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/data/processed/weekly_spi_price_features.csv', 'hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/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
              observation_id: string
              date: string
              ceiling_amount_million_pkr: int64
              ceiling_institutions: int64
              floor_amount_million_pkr: int64
              floor_institutions: int64
              total_facility_amount_million_pkr: int64
              net_floor_minus_ceiling_amount_million_pkr: int64
              total_facility_amount_million_pkr_lag_1: double
              total_facility_amount_million_pkr_rolling_7_obs_avg: double
              total_facility_amount_million_pkr_rolling_30_obs_avg: double
              net_floor_minus_ceiling_amount_million_pkr_lag_1: double
              net_floor_minus_ceiling_amount_million_pkr_rolling_7_obs_avg: double
              net_floor_minus_ceiling_amount_million_pkr_rolling_30_obs_avg: double
              target_next_obs_total_facility_amount_million_pkr: double
              target_next_obs_facility_direction: string
              split: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3129
              to
              {'instrument': Value('string'), 'auction_number': Value('string'), 'date': Value('string'), 'tenor': Value('string'), 'coupon_rate_pct': Value('float64'), 'amount_million_pkr': Value('float64'), 'weighted_average_yield_pct': Value('float64'), 'yield_lag_1_auction_pct': Value('float64'), 'yield_lag_3_auction_pct': Value('float64'), 'yield_change_from_previous_pct_points': Value('float64'), 'yield_rolling_3_auction_avg_pct': Value('float64'), 'amount_lag_1_auction_million_pkr': Value('float64'), 'target_next_auction_yield_pct': Value('float64'), 'target_next_auction_yield_direction': Value('string'), 'split': 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 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 15 new columns ({'total_facility_amount_million_pkr_rolling_30_obs_avg', 'total_facility_amount_million_pkr_rolling_7_obs_avg', 'net_floor_minus_ceiling_amount_million_pkr_lag_1', 'ceiling_institutions', 'net_floor_minus_ceiling_amount_million_pkr_rolling_7_obs_avg', 'target_next_obs_facility_direction', 'net_floor_minus_ceiling_amount_million_pkr', 'observation_id', 'total_facility_amount_million_pkr_lag_1', 'floor_institutions', 'total_facility_amount_million_pkr', 'net_floor_minus_ceiling_amount_million_pkr_rolling_30_obs_avg', 'target_next_obs_total_facility_amount_million_pkr', 'ceiling_amount_million_pkr', 'floor_amount_million_pkr'}) and 13 missing columns ({'yield_rolling_3_auction_avg_pct', 'target_next_auction_yield_direction', 'yield_lag_3_auction_pct', 'amount_million_pkr', 'target_next_auction_yield_pct', 'tenor', 'instrument', 'weighted_average_yield_pct', 'amount_lag_1_auction_million_pkr', 'auction_number', 'coupon_rate_pct', 'yield_change_from_previous_pct_points', 'yield_lag_1_auction_pct'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/opendoc-pakistan/pakistan_finance_ml_features/data/processed/interest_corridor_daily_features.csv (at revision 476b317c8e33789abc919df7a76916c9bcd15287), ['hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/data/processed/government_securities_yield_features.csv', 'hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/data/processed/interest_corridor_daily_features.csv', 'hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/data/processed/monthly_macro_inflation_features.csv', 'hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/data/processed/weekly_spi_price_features.csv', 'hf://datasets/opendoc-pakistan/pakistan_finance_ml_features@476b317c8e33789abc919df7a76916c9bcd15287/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.

instrument
string
auction_number
string
date
string
tenor
string
coupon_rate_pct
null
amount_million_pkr
float64
weighted_average_yield_pct
float64
yield_lag_1_auction_pct
float64
yield_lag_3_auction_pct
float64
yield_change_from_previous_pct_points
float64
yield_rolling_3_auction_avg_pct
float64
amount_lag_1_auction_million_pkr
float64
target_next_auction_yield_pct
float64
target_next_auction_yield_direction
string
split
string
Market Treasury Bill
693rd
2025-03-19
1-Month
null
374,760
12.0493
null
null
null
null
null
12.2483
up
test
Market Treasury Bill
694th
2025-03-26
1-Month
null
606,974
12.2483
12.0493
null
0.199
12.1488
374,760
12.2857
up
test
Market Treasury Bill
695th
2025-04-16
1-Month
null
904,213.0753
12.2857
12.2483
null
0.0374
12.194433
606,974
12.1416
down
test
Market Treasury Bill
696th
2025-04-30
1-Month
null
525,685.2457
12.1416
12.2857
12.0493
-0.1441
12.2252
904,213.0753
11.1831
down
test
Market Treasury Bill
697th
2025-05-14
1-Month
null
638,720.4995
11.1831
12.1416
12.2483
-0.9585
11.870133
525,685.2457
11.0998
down
test
Market Treasury Bill
698th
2025-05-27
1-Month
null
719,884.3389
11.0998
11.1831
12.2857
-0.0833
11.474833
638,720.4995
11.0648
down
test
Market Treasury Bill
699th
2025-06-11
1-Month
null
815,139.0226
11.0648
11.0998
12.1416
-0.035
11.1159
719,884.3389
11.2952
up
test
Market Treasury Bill
700th
2025-06-18
1-Month
null
909,409.79
11.2952
11.0648
11.1831
0.2304
11.153267
815,139.0226
11.0003
down
test
Market Treasury Bill
701th
2025-06-25
1-Month
null
322,589.5438
11.0003
11.2952
11.0998
-0.2949
11.1201
909,409.79
11.0804
up
test
Market Treasury Bill
702nd
2025-07-09
1-Month
null
1,413,388.81
11.0804
11.0003
11.0648
0.0801
11.1253
322,589.5438
10.8505
down
test
Market Treasury Bill
703rd
2025-07-23
1-Month
null
408,749.866
10.8505
11.0804
11.2952
-0.2299
10.977067
1,413,388.81
10.8705
up
test
Market Treasury Bill
704th
2025-08-06
1-Month
null
369,584.0337
10.8705
10.8505
11.0003
0.02
10.9338
408,749.866
10.8715
flat
test
Market Treasury Bill
705th
2025-08-20
1-Month
null
491,643.747
10.8715
10.8705
11.0804
0.001
10.864167
369,584.0337
10.7267
down
test
Market Treasury Bill
706th
2025-09-03
1-Month
null
491,108.541
10.7267
10.8715
10.8505
-0.1448
10.8229
491,643.747
10.7443
up
test
Market Treasury Bill
707th
2025-09-17
1-Month
null
194,869.052
10.7443
10.7267
10.8705
0.0176
10.780833
491,108.541
11.0915
up
test
Market Treasury Bill
708th
2025-10-01
1-Month
null
696,289.8534
11.0915
10.7443
10.8715
0.3472
10.854167
194,869.052
11.0891
flat
test
Market Treasury Bill
709th
2025-10-15
1-Month
null
742,115.7516
11.0891
11.0915
10.7267
-0.0024
10.974967
696,289.8534
10.9851
down
test
Market Treasury Bill
710th
2025-10-29
1-Month
null
1,057,403.323
10.9851
11.0891
10.7443
-0.104
11.055233
742,115.7516
10.9735
down
test
Market Treasury Bill
711th
2025-11-12
1-Month
null
478,309.3375
10.9735
10.9851
11.0915
-0.0116
11.0159
1,057,403.323
10.8873
down
test
Market Treasury Bill
712th
2025-11-26
1-Month
null
702,059.8073
10.8873
10.9735
11.0891
-0.0862
10.948633
478,309.3375
10.7857
down
test
Market Treasury Bill
713th
2025-12-10
1-Month
null
916,365.1119
10.7857
10.8873
10.9851
-0.1016
10.882167
702,059.8073
10.3411
down
test
Market Treasury Bill
714th
2025-12-24
1-Month
null
871,536.663
10.3411
10.7857
10.9735
-0.4446
10.671367
916,365.1119
10.1958
down
test
Market Treasury Bill
715th
2026-01-07
1-Month
null
904,787.6866
10.1958
10.3411
10.8873
-0.1453
10.440867
871,536.663
9.8996
down
test
Market Treasury Bill
716th
2026-01-21
1-Month
null
690,848.011
9.8996
10.1958
10.7857
-0.2962
10.1455
904,787.6866
10.1819
up
test
Market Treasury Bill
717th
2026-02-04
1-Month
null
783,608.5246
10.1819
9.8996
10.3411
0.2823
10.092433
690,848.011
10.1401
down
test
Market Treasury Bill
718th
2026-02-18
1-Month
null
650,671.3278
10.1401
10.1819
10.1958
-0.0418
10.073867
783,608.5246
10.3248
up
test
Market Treasury Bill
719th
2026-03-04
1-Month
null
555,017.0426
10.3248
10.1401
9.8996
0.1847
10.2156
650,671.3278
11.0054
up
test
Market Treasury Bill
720th
2026-03-16
1-Month
null
1,024,480.346
11.0054
10.3248
10.1819
0.6806
10.4901
555,017.0426
11.149
up
test
Market Treasury Bill
721st
2026-04-01
1-Month
null
753,260.1961
11.149
11.0054
10.1401
0.1436
10.8264
1,024,480.346
10.6663
down
test
Market Treasury Bill
722nd
2026-04-15
1-Month
null
1,437,085.335
10.6663
11.149
10.3248
-0.4827
10.940233
753,260.1961
11.404
up
test
Market Treasury Bill
723rd
2026-04-29
1-Month
null
1,339,543.767
11.404
10.6663
11.0054
0.7377
11.0731
1,437,085.335
11.3244
down
test
Market Treasury Bill
724th
2026-05-13
1-Month
null
915,575.9507
11.3244
11.404
11.149
-0.0796
11.131567
1,339,543.767
12.0568
up
test
Market Treasury Bill
725th
2026-05-20
1-Month
null
688,069.4125
12.0568
11.3244
10.6663
0.7324
11.595067
915,575.9507
12.0963
up
test
Market Treasury Bill
726th
2026-06-10
1-Month
null
1,901,766.126
12.0963
12.0568
11.404
0.0395
11.825833
688,069.4125
11.7538
down
test
Market Treasury Bill
727th
2026-06-23
1-Month
null
1,157,620.572
11.7538
12.0963
11.3244
-0.3425
11.968967
1,901,766.126
null
null
test
Market Treasury Bill
2nd
1998-07-13
12-Month
null
7,708.23
16
null
null
null
null
null
15.9
down
train
Market Treasury Bill
4th
1998-08-04
12-Month
null
21,261.33
15.9
16
null
-0.1
15.95
7,708.23
15.7803
down
train
Market Treasury Bill
5th
1998-08-17
12-Month
null
19,628.07
15.7803
15.9
null
-0.1197
15.893433
21,261.33
15.3924
down
train
Market Treasury Bill
6th
1998-09-03
12-Month
null
20,526.84
15.3924
15.7803
16
-0.3879
15.6909
19,628.07
15.1701
down
train
Market Treasury Bill
7th
1998-09-28
12-Month
null
9,255.2
15.1701
15.3924
15.9
-0.2223
15.4476
20,526.84
15.1808
up
train
Market Treasury Bill
8th
1998-10-12
12-Month
null
1,910.04
15.1808
15.1701
15.7803
0.0107
15.247767
9,255.2
14.1285
down
train
Market Treasury Bill
10th
1998-11-03
12-Month
null
23,149.34
14.1285
15.1808
15.3924
-1.0523
14.826467
1,910.04
12.9944
down
train
Market Treasury Bill
11th
1998-11-16
12-Month
null
6,981.53
12.9944
14.1285
15.1701
-1.1341
14.101233
23,149.34
12.9944
flat
train
Market Treasury Bill
12th
1998-12-03
12-Month
null
5,998.96
12.9944
12.9944
15.1808
0
13.372433
6,981.53
12.9809
down
train
Market Treasury Bill
13th
1998-12-22
12-Month
null
2,207.54
12.9809
12.9944
14.1285
-0.0135
12.9899
5,998.96
12.9755
flat
train
Market Treasury Bill
14th
1999-01-09
12-Month
null
5,310.86
12.9755
12.9809
12.9944
-0.0054
12.9836
2,207.54
13.1684
up
train
Market Treasury Bill
15th
1999-01-20
12-Month
null
8,364.98
13.1684
12.9755
12.9944
0.1929
13.0416
5,310.86
13.54
up
train
Market Treasury Bill
16th
1999-02-01
12-Month
null
20,217.27
13.54
13.1684
12.9809
0.3716
13.227967
8,364.98
13.8117
up
train
Market Treasury Bill
17th
1999-02-13
12-Month
null
15,086.1
13.8117
13.54
12.9755
0.2717
13.5067
20,217.27
11.8043
down
train
Market Treasury Bill
19th
1999-03-25
12-Month
null
3,860.06
11.8043
13.8117
13.1684
-2.0074
13.052
15,086.1
11.4951
down
train
Market Treasury Bill
20th
1999-04-21
12-Month
null
211.15
11.4951
11.8043
13.54
-0.3092
12.370367
3,860.06
10.0979
down
train
Market Treasury Bill
24th
1999-06-23
12-Month
null
12,580.09
10.0979
11.4951
13.8117
-1.3972
11.132433
211.15
10.3307
up
train
Market Treasury Bill
25th
1999-07-07
12-Month
null
2,063.78
10.3307
10.0979
11.8043
0.2328
10.641233
12,580.09
10.2901
down
train
Market Treasury Bill
26th
1999-07-21
12-Month
null
6,403.1
10.2901
10.3307
11.4951
-0.0406
10.239567
2,063.78
10.1841
down
train
Market Treasury Bill
27th
1999-08-11
12-Month
null
15,569.91
10.1841
10.2901
10.0979
-0.106
10.2683
6,403.1
10.1996
up
train
Market Treasury Bill
28th
1999-08-25
12-Month
null
9,919.75
10.1996
10.1841
10.3307
0.0155
10.2246
15,569.91
10.3234
up
train
Market Treasury Bill
29th
1999-09-08
12-Month
null
17,856.24
10.3234
10.1996
10.2901
0.1238
10.2357
9,919.75
10.7313
up
train
Market Treasury Bill
30th
1999-09-22
12-Month
null
5,428.64
10.7313
10.3234
10.1841
0.4079
10.4181
17,856.24
10.6126
down
train
Market Treasury Bill
33rd
1999-11-03
12-Month
null
26,708.09
10.6126
10.7313
10.1996
-0.1187
10.555767
5,428.64
10.8707
up
train
Market Treasury Bill
34th
1999-11-17
12-Month
null
5,884.4
10.8707
10.6126
10.3234
0.2581
10.7382
26,708.09
10.7721
down
train
Market Treasury Bill
35th
1999-12-01
12-Month
null
1,742.63
10.7721
10.8707
10.7313
-0.0986
10.7518
5,884.4
10.3281
down
train
Market Treasury Bill
36th
1999-12-15
12-Month
null
1,833.81
10.3281
10.7721
10.6126
-0.444
10.656967
1,742.63
10.3061
down
train
Market Treasury Bill
37th
1999-12-29
12-Month
null
201.77
10.3061
10.3281
10.8707
-0.022
10.468767
1,833.81
8.9451
down
train
Market Treasury Bill
39th
2000-01-26
12-Month
null
2,719.69
8.9451
10.3061
10.7721
-1.361
9.859767
201.77
8.4359
down
train
Market Treasury Bill
40th
2000-02-09
12-Month
null
8,746.78
8.4359
8.9451
10.3281
-0.5092
9.229033
2,719.69
7.8965
down
train
Market Treasury Bill
41st
2000-02-23
12-Month
null
2,642.95
7.8965
8.4359
10.3061
-0.5394
8.425833
8,746.78
7.8924
flat
train
Market Treasury Bill
42nd
2000-03-08
12-Month
null
71.35
7.8924
7.8965
8.9451
-0.0041
8.074933
2,642.95
7.8949
flat
train
Market Treasury Bill
43rd
2000-03-22
12-Month
null
870.03
7.8949
7.8924
8.4359
0.0025
7.8946
71.35
7.6851
down
train
Market Treasury Bill
44th
2000-04-05
12-Month
null
8,318.59
7.6851
7.8949
7.8965
-0.2098
7.824133
870.03
7.5916
down
train
Market Treasury Bill
45th
2000-04-19
12-Month
null
4,674.8
7.5916
7.6851
7.8924
-0.0935
7.723867
8,318.59
7.5836
flat
train
Market Treasury Bill
46th
2000-05-03
12-Month
null
20,762.14
7.5836
7.5916
7.8949
-0.008
7.6201
4,674.8
7.6172
up
train
Market Treasury Bill
47th
2000-05-17
12-Month
null
2,263.23
7.6172
7.5836
7.6851
0.0336
7.597467
20,762.14
7.6086
flat
train
Market Treasury Bill
48th
2000-05-31
12-Month
null
1,198.66
7.6086
7.6172
7.5916
-0.0086
7.603133
2,263.23
7.7771
up
train
Market Treasury Bill
52nd
2000-07-26
12-Month
null
7,780.42
7.7771
7.6086
7.5836
0.1685
7.667633
1,198.66
7.9595
up
train
Market Treasury Bill
53rd
2000-08-09
12-Month
null
698.65
7.9595
7.7771
7.6172
0.1824
7.781733
7,780.42
8.0122
up
train
Market Treasury Bill
54th
2000-08-23
12-Month
null
1,520.62
8.0122
7.9595
7.6086
0.0527
7.916267
698.65
8.1039
up
train
Market Treasury Bill
55th
2000-09-06
12-Month
null
255.08
8.1039
8.0122
7.7771
0.0917
8.0252
1,520.62
8.9253
up
train
Market Treasury Bill
56th
2000-09-20
12-Month
null
11,834.92
8.9253
8.1039
7.9595
0.8214
8.347133
255.08
10.9098
up
train
Market Treasury Bill
57th
2000-10-04
12-Month
null
11,036.69
10.9098
8.9253
8.0122
1.9845
9.313
11,834.92
11.4789
up
train
Market Treasury Bill
59th
2000-11-01
12-Month
null
12,790.27
11.4789
10.9098
8.1039
0.5691
10.438
11,036.69
11.4893
up
train
Market Treasury Bill
61st
2000-11-29
12-Month
null
993.03
11.4893
11.4789
8.9253
0.0104
11.292667
12,790.27
11.4893
flat
train
Market Treasury Bill
62nd
2000-12-13
12-Month
null
585.28
11.4893
11.4893
10.9098
0
11.485833
993.03
11.4425
down
train
Market Treasury Bill
65th
2001-02-07
12-Month
null
2,861.88
11.4425
11.4893
11.4789
-0.0468
11.4737
585.28
11.9522
up
train
Market Treasury Bill
68th
2001-03-21
12-Month
null
13,203.74
11.9522
11.4425
11.4893
0.5097
11.628
2,861.88
11.959
flat
train
Market Treasury Bill
69th
2001-04-03
12-Month
null
18,511.96
11.959
11.9522
11.4893
0.0068
11.784567
13,203.74
11.9849
up
train
Market Treasury Bill
70th
2001-04-18
12-Month
null
4,392.58
11.9849
11.959
11.4425
0.0259
11.965367
18,511.96
11.9717
down
train
Market Treasury Bill
71st
2001-05-02
12-Month
null
19,718.56
11.9717
11.9849
11.9522
-0.0132
11.971867
4,392.58
11.9773
flat
train
Market Treasury Bill
72nd
2001-05-16
12-Month
null
4,252.95
11.9773
11.9717
11.959
0.0056
11.977967
19,718.56
11.9905
up
train
Market Treasury Bill
73rd
2001-05-30
12-Month
null
20,613.56
11.9905
11.9773
11.9849
0.0132
11.979833
4,252.95
12.5266
up
train
Market Treasury Bill
74th
2001-06-13
12-Month
null
10,915.78
12.5266
11.9905
11.9717
0.5361
12.1648
20,613.56
12.9353
up
train
Market Treasury Bill
75th
2001-06-27
12-Month
null
15,491.42
12.9353
12.5266
11.9773
0.4087
12.484133
10,915.78
11.9843
down
train
Market Treasury Bill
77th
2001-07-25
12-Month
null
11,315.59
11.9843
12.9353
11.9905
-0.951
12.482067
15,491.42
11.734
down
train
Market Treasury Bill
78th
2001-08-08
12-Month
null
8,415.58
11.734
11.9843
12.5266
-0.2503
12.217867
11,315.59
10.8221
down
train
Market Treasury Bill
79th
2001-08-22
12-Month
null
16,532.72
10.8221
11.734
12.9353
-0.9119
11.513467
8,415.58
10.8392
up
train
Market Treasury Bill
80th
2001-09-05
12-Month
null
11,430.17
10.8392
10.8221
11.9843
0.0171
11.131767
16,532.72
10.8699
up
train
Market Treasury Bill
81st
2001-09-19
12-Month
null
1,178.84
10.8699
10.8392
11.734
0.0307
10.843733
11,430.17
10.7592
down
train
Market Treasury Bill
82nd
2001-10-03
12-Month
null
7,737.85
10.7592
10.8699
10.8221
-0.1107
10.822767
1,178.84
10.7176
down
train
Market Treasury Bill
83rd
2001-10-17
12-Month
null
3,231.11
10.7176
10.7592
10.8392
-0.0416
10.782233
7,737.85
8.9971
down
train
Market Treasury Bill
84th
2001-10-31
12-Month
null
9,208.18
8.9971
10.7176
10.8699
-1.7205
10.157967
3,231.11
8.8986
down
train
Market Treasury Bill
85th
2001-11-14
12-Month
null
7,508.83
8.8986
8.9971
10.7592
-0.0985
9.537767
9,208.18
8.7405
down
train
End of preview.

Pakistan Finance ML Features

Separate machine-learning feature tables for Pakistan finance: monthly macro/inflation features, weekly SPI price features, government securities yield features, and interest corridor facility usage features.


Source: OpenDoc Pakistan

Pakistan Finance ML Features

Summary

This dataset contains separate machine-learning feature tables for Pakistan finance. It is not mixed with the RAG corpus. Tables include monthly inflation/macro features, weekly SPI item-city price features, government securities yield features, and interest corridor facility-usage features.

Dataset Details

  • Dataset ID: pakistan-finance-ml-features
  • Version: 0.1.0
  • Category: Economy and Finance
  • Tags: machine-learning, forecasting, features, inflation, spi, bonds, yields, interest-rates, pakistan
  • Language: English
  • Geography: Pakistan
  • File Formats: CSV
  • Records: 35,085 feature rows
  • Maintainer: OpenDoc Data Stewardship Team

Source and Provenance

Features are derived from the separate curated packages:

  • pakistan_inflation_and_prices
  • pakistan_government_securities_auctions
  • pakistan_interest_rate_corridor
  • pakistan_macroeconomic_indicators

No RAG chunks or QA text are included in this package.

License

  • Original License: Mixed official public website sources; explicit open redistribution licenses not found for PBS/SBP, World Bank WDI is CC-BY.
  • Repository License: LicenseRef-PBS-Public-Website, LicenseRef-SBP-Public-Website, and World Bank WDI attribution.
  • Attribution Required: Yes, cite the underlying official sources.

Files

  • monthly_macro_inflation_features.csv: monthly CPI/SPI/WPI features, WDI annual macro joins, lags, rolling averages, and next-month targets.
  • weekly_spi_price_features.csv: weekly item-city average prices with lag, rolling, next-week price, and direction targets.
  • government_securities_yield_features.csv: T-bill/PIB auction yield features with lag and next-auction targets.
  • interest_corridor_daily_features.csv: SBP corridor facility usage features with lag, rolling, and next-observation targets.

ML Notes

  • Features are time ordered.
  • Target columns are explicitly prefixed with target_.
  • Splits are chronological, not random.
  • Lag/rolling features use prior observations only.
  • Blank targets at the end of a group are expected where no future observation exists.

Quality Report

  • Duplicate Primary Keys: 0
  • Blank Primary Keys: 0
  • PII Scan: 0 email/phone regex hits.
  • Known Limitation: Some features inherit source frequency differences: monthly inflation, weekly prices, auction events, and daily/operation corridor records are separate tables by design.

Intended Use

Appropriate for:

  • Inflation direction and level forecasting.
  • SPI item/city price anomaly detection.
  • Auction yield movement modeling.
  • Liquidity facility usage modeling.

Out of scope:

  • Retrieval/citation QA; use pakistan_finance_rag_corpus.
  • Trading or investment advice.

Citation

Pakistan Bureau of Statistics, State Bank of Pakistan, and World Bank WDI sources, curated as "Pakistan Finance ML Features" by OpenDoc Pakistan (OpenDoc), v0.1.0, 2026.
Downloads last month
49