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 ({'Forecasted_GDP_Billion_USD', 'Forecasted_GDP_Growth_Rate'}) and 13 missing columns ({'Major_Event', 'War_Conflict_Indicator', 'FDI_Billion_USD', 'Industry_Share', 'Armed_Forces_Personnel', 'GDP_Billion_USD', 'GDP_Growth_Rate', 'Services_Share', 'Trade_Balance_Billion_USD', 'Unemployment_Rate', 'Agriculture_Share', 'Inflation_Rate', 'Military_Expenditure_Percent_GDP'}).

This happened while the csv dataset builder was generating data using

hf://datasets/jason1966/abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036/pakistan_economic_forecast_2026_2036.csv (at revision cb4593f0cebce3da3b54d81427a8461d64e76965), [/tmp/hf-datasets-cache/medium/datasets/53674655698440-config-parquet-and-info-jason1966-abdulmaliklodhr-84cc9a10/hub/datasets--jason1966--abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036/snapshots/cb4593f0cebce3da3b54d81427a8461d64e76965/pakistan_economic_data_1947_2025.csv (origin=hf://datasets/jason1966/abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036@cb4593f0cebce3da3b54d81427a8461d64e76965/pakistan_economic_data_1947_2025.csv), /tmp/hf-datasets-cache/medium/datasets/53674655698440-config-parquet-and-info-jason1966-abdulmaliklodhr-84cc9a10/hub/datasets--jason1966--abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036/snapshots/cb4593f0cebce3da3b54d81427a8461d64e76965/pakistan_economic_forecast_2026_2036.csv (origin=hf://datasets/jason1966/abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036@cb4593f0cebce3da3b54d81427a8461d64e76965/pakistan_economic_forecast_2026_2036.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.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, 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
              Year: int64
              Forecasted_GDP_Billion_USD: double
              Forecasted_GDP_Growth_Rate: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 671
              to
              {'Year': Value('int64'), 'FDI_Billion_USD': Value('float64'), 'Inflation_Rate': Value('float64'), 'Armed_Forces_Personnel': Value('float64'), 'Military_Expenditure_Percent_GDP': Value('float64'), 'Trade_Balance_Billion_USD': Value('float64'), 'Agriculture_Share': Value('float64'), 'Industry_Share': Value('float64'), 'Services_Share': Value('float64'), 'GDP_Billion_USD': Value('float64'), 'GDP_Growth_Rate': Value('float64'), 'Unemployment_Rate': Value('float64'), 'Major_Event': Value('string'), 'War_Conflict_Indicator': 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 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 1739, 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 1892, 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 ({'Forecasted_GDP_Billion_USD', 'Forecasted_GDP_Growth_Rate'}) and 13 missing columns ({'Major_Event', 'War_Conflict_Indicator', 'FDI_Billion_USD', 'Industry_Share', 'Armed_Forces_Personnel', 'GDP_Billion_USD', 'GDP_Growth_Rate', 'Services_Share', 'Trade_Balance_Billion_USD', 'Unemployment_Rate', 'Agriculture_Share', 'Inflation_Rate', 'Military_Expenditure_Percent_GDP'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/jason1966/abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036/pakistan_economic_forecast_2026_2036.csv (at revision cb4593f0cebce3da3b54d81427a8461d64e76965), [/tmp/hf-datasets-cache/medium/datasets/53674655698440-config-parquet-and-info-jason1966-abdulmaliklodhr-84cc9a10/hub/datasets--jason1966--abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036/snapshots/cb4593f0cebce3da3b54d81427a8461d64e76965/pakistan_economic_data_1947_2025.csv (origin=hf://datasets/jason1966/abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036@cb4593f0cebce3da3b54d81427a8461d64e76965/pakistan_economic_data_1947_2025.csv), /tmp/hf-datasets-cache/medium/datasets/53674655698440-config-parquet-and-info-jason1966-abdulmaliklodhr-84cc9a10/hub/datasets--jason1966--abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036/snapshots/cb4593f0cebce3da3b54d81427a8461d64e76965/pakistan_economic_forecast_2026_2036.csv (origin=hf://datasets/jason1966/abdulmaliklodhra_pakistan-economic-development-analysis-1947-2036@cb4593f0cebce3da3b54d81427a8461d64e76965/pakistan_economic_forecast_2026_2036.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.

Year
int64
FDI_Billion_USD
float64
Inflation_Rate
float64
Armed_Forces_Personnel
float64
Military_Expenditure_Percent_GDP
float64
Trade_Balance_Billion_USD
float64
Agriculture_Share
float64
Industry_Share
float64
Services_Share
float64
GDP_Billion_USD
float64
GDP_Growth_Rate
float64
Unemployment_Rate
float64
Major_Event
string
War_Conflict_Indicator
int64
1,947
0.05
7.585207
197,658
6.52303
-0.1
53
10
37
3
5.493428
5.647689
null
0
1,948
0.055
12.737638
205,425
4.530526
-0.12
52.6
10.3
37.1
3.120952
4.031726
5.767435
First Kashmir War
1
1,949
0.06
6.602811
182,750
3.08672
-0.14
52.2
10.6
37.2
3.232469
3.573165
5.241962
null
0
1,950
0.065
4.961507
185,876
4.091976
-0.16
51.8
10.9
37.3
3.341578
3.375425
5.314247
null
0
1,951
0.07
7.322671
194,556
3.575252
-0.18
51.4
11.2
37.4
3.589901
7.431298
5.067528
null
0
1,952
0.075
4.547019
197,083
4.399361
-0.2
51
11.5
37.5
3.75941
4.721845
5.375698
null
0
1,953
0.08
13.556835
208,225
3.942289
-0.22
50.6
11.8
37.6
3.883342
3.296587
4.986503
null
0
1,954
0.085
8.626591
201,968
3.671814
-0.24
50.2
12.1
37.7
3.963274
2.058313
3.04033
null
0
1,955
0.09
8.514105
185,214
4.698896
-0.26
49.8
12.4
37.8
4.200156
5.976933
4.884352
null
0
1,956
0.095
6.618084
182,369
5.343618
-0.28
49.4
12.7
37.9
4.328694
3.060312
6.057122
null
0
1,957
0.1
6.844753
210,309
5.611676
-0.3
49
13
38
4.551542
5.148168
4.323078
null
0
1,958
0.105
5.482347
209,755
5.331263
-0.32
48.6
13.3
38.1
4.841137
6.36256
4.690788
null
0
1,959
0.11
7.443023
208,125
3.803793
-0.34
48.2
13.6
38.2
5.012593
3.541652
3.893665
null
0
1,960
0.102091
6.947368
218,689.423077
4.312663
-0.226585
43.189201
14.573765
36.47922
3.749265
4.764499
3.790613
null
0
1,961
0.094182
1.64042
229,253.846154
4.097891
-0.321294
41.727426
15.652883
36.174986
4.118648
5.987346
3.687561
null
0
1,962
0.086273
-0.516462
239,818.269231
3.655873
-0.331583
40.029233
16.628502
36.589525
4.310164
4.482859
3.584509
null
0
1,963
0.078364
1.456488
250,382.692308
3.648413
-0.353633
38.840015
18.107201
35.964992
4.630827
8.688832
3.481457
null
0
1,964
0.070455
4.179587
260,947.115385
3.86589
-0.399832
38.324054
18.740418
35.507948
5.204956
7.569757
3.378405
null
0
1,965
0.062545
5.568635
271,511.538462
5.904668
-0.588828
36.968302
18.448734
37.382681
5.929231
10.419366
3.275353
Indo-Pakistani War of 1965
1
1,966
0.054636
7.227622
282,075.961538
6.730522
-0.353003
33.836897
18.877224
40.004481
6.561109
5.789952
3.172301
null
0
1,967
0.046727
6.8114
292,640.384615
5.404604
-0.49664
35.053171
17.897935
38.822934
7.464511
5.400613
3.069249
null
0
1,968
0.038818
0.170627
303,204.807692
5.103906
-0.326963
36.541675
18.114163
38.15281
8.041999
7.233221
2.966197
null
0
1,969
0.030909
3.186987
313,769.230769
5.512042
-0.315834
33.950035
19.940023
37.974316
8.683116
5.5079
2.863145
null
0
1,970
0.023
5.349841
324,333.653846
6.158388
-0.274045
33.431761
20.265544
37.079852
10.027509
11.353462
2.760093
null
0
1,971
0.001
4.730691
334,898.076923
6.735533
-0.294204
31.966293
21.119883
37.492863
10.665897
0.468373
2.657041
Indo-Pakistani War of 1971 & Bangladesh Liberation
1
1,972
0.017
5.183238
345,462.5
6.865956
-0.138454
32.802297
19.90745
38.347996
9.415016
0.813406
2.553989
null
0
1,973
-0.004
23.070084
356,026.923077
6.210643
0.034333
32.458662
20.1535
38.382327
6.383429
7.064264
2.450937
null
0
1,974
0.004
26.663035
366,591.346154
6.090996
-0.327475
31.876688
20.991578
39.853806
8.899192
3.540192
2.347885
null
0
1,975
0.025
20.904509
377,155.769231
6.32152
-1.012323
30.160186
20.636248
42.344603
11.230606
4.211416
2.244833
null
0
1,976
0.008221
7.158324
387,720.192308
5.889472
-1.007374
29.408426
20.889203
41.549814
13.168081
5.15619
2.14178
null
0
1,977
0.015223
10.132968
398,284.615385
5.547412
-1.287879
29.361327
20.767556
40.67834
15.126061
3.947698
2.038728
null
0
1,978
0.032273
6.138693
408,849.038462
5.5033
-1.613232
28.676829
20.642644
41.326687
17.811515
8.048534
1.935676
null
0
1,979
0.058254
8.267047
419,413.461538
5.453274
-2.121212
27.779801
21.482185
41.979837
19.688384
3.758436
1.832624
null
0
1,980
0.063633
11.938231
429,977.884615
5.523244
-2.534646
26.545506
22.30516
40.932364
23.654444
10.215704
1.729572
Soviet-Afghan War spillover begins
1
1,981
0.108085
11.879914
440,542.307692
5.710871
-2.668889
27.462293
20.134366
41.488375
28.100606
7.920764
1.62652
Afghan War Spillover
1
1,982
0.063833
5.903529
451,106.730769
6.375717
-3.361896
28.447768
20.058058
41.620624
30.725972
6.537487
1.523468
Afghan War Spillover
1
1,983
0.029457
6.362033
461,671.153846
6.643798
-2.962441
27.273201
19.894233
42.95982
28.69189
6.778378
1.420416
Afghan War Spillover
1
1,984
0.05551
6.087167
472,235.576923
6.659491
-3.293782
24.904598
20.243591
44.024564
31.151825
5.065206
1.317364
Afghan War Spillover
1
1,985
0.131389
5.614839
482,800
6.922134
-3.74934
25.689125
20.229712
44.107151
31.144921
7.592115
1.214312
Soviet-Afghan War ongoing
1
1,986
0.10573
3.506414
492,100
6.991656
-2.492684
25.032651
21.15573
44.441356
31.89907
5.501654
1.11126
Afghan War Spillover
1
1,987
0.129378
4.681219
501,400
6.97188
-1.760385
23.635452
21.630138
44.769328
33.351529
6.452343
1.008208
Afghan War Spillover
1
1,988
0.186492
8.837937
510,700
6.785811
-2.141612
23.153323
21.695201
44.140932
38.472743
7.625279
0.905156
Afghan War Spillover
1
1,989
0.2106
7.844265
520,000
6.532725
-2.521859
23.913634
21.208062
43.626915
40.171106
4.959769
0.802104
Afghan War Spillover
1
1,990
0.245263
9.052132
550,000
6.52232
-2.183424
23.067073
22.344245
43.362233
40.010424
4.458587
0.699052
null
0
1,991
0.258414
11.79127
565,000
6.570953
-0.709415
22.842446
22.930923
43.230551
45.625337
5.061568
0.596
null
0
1,992
0.33648
9.509041
580,000
6.698188
-1.541375
23.310013
22.644989
43.029342
48.884672
7.705898
0.587
null
0
1,993
0.348557
9.973665
580,000
6.427313
-3.157886
22.19794
22.592684
44.662496
51.809999
1.757748
0.596
null
0
1,994
0.421025
12.368194
580,000
5.923548
-1.433344
22.752825
22.370458
44.690505
52.293471
3.737416
0.601
null
0
1,995
0.722632
12.343579
846,000
5.820225
-1.644944
23.421879
21.323292
44.860771
60.636072
4.962609
0.611
null
0
1,996
0.921976
10.373809
835,000
6.037166
-2.864556
23.195796
21.994384
45.834986
63.32017
4.846581
0.6
null
0
1,997
0.716253
11.375493
834,000
5.621216
-2.9271
24.484251
21.557279
45.650971
62.43334
1.014396
0.611
null
0
1,998
0.506
6.228004
834,000
5.415095
-0.648129
25.303138
22.05302
45.295176
62.191956
2.550234
0.62
Nuclear Tests & Sanctions
1
1,999
0.532
4.142637
834,000
5.189899
-1.015746
25.169286
22.103173
45.838165
62.973857
3.660133
0.625
Kargil War
1
2,000
0.308
4.366665
900,000
4.168723
-2.189374
25.387136
17.183635
52.064301
99.484802
4.260088
0.614
null
0
2,001
0.378
3.148261
908,000
3.878934
-2.258502
24.144961
17.593494
52.964683
97.145618
3.65135
0.611
Start of War on Terror
1
2,002
0.826
3.290345
909,000
4.07377
-0.590558
22.702628
17.158888
54.844641
97.923303
2.594817
0.615
War on Terror Impact
1
2,003
0.534
2.914135
909,000
4.091427
-0.360569
22.151937
17.388583
54.942497
112.371914
5.401311
0.612
War on Terror Impact
1
2,004
1.118
7.444625
921,000
3.956034
-2.5946
22.00189
18.907145
53.661664
132.216048
7.831256
0.598
War on Terror Impact
1
2,005
2.201
9.063327
921,000
3.897019
-7.804685
21.57451
19.933029
53.756287
145.208563
7.276574
0.583
Kashmir Earthquake
1
2,006
4.273
7.921084
923,000
3.645255
-12.871731
20.418346
20.19912
54.21812
161.871386
6.051638
0.582
War on Terror Impact
1
2,007
5.59
7.598684
921,000
3.511986
-13.880038
19.937951
19.944955
55.602899
184.14087
4.444814
0.398
War on Terror Impact
1
2,008
5.438
20.286121
921,000
3.459371
-21.428199
20.351365
21.195548
56.219239
202.203749
2.120441
0.423
Global Financial Crisis & WoT
1
2,009
2.338
13.647765
921,000
3.265224
-16.007847
21.786923
20.337247
53.405171
187.337784
3.472551
0.535
War on Terror Impact
1
2,010
2.022
12.938871
946,000
3.041893
-13.208172
22.68881
20.96502
52.599594
196.709622
1.501718
0.653
Major Floods
1
2,011
1.326
11.916093
946,000
2.919243
-12.445977
23.819643
21.186481
51.80658
230.586581
2.680117
0.796
War on Terror Impact
1
2,012
0.859
9.682352
947,800
3.095774
-18.935711
23.386196
21.958372
51.589869
250.106966
3.027584
3.667
War on Terror Impact
1
2,013
1.333
7.692156
947,800
3.08802
-16.903964
23.707595
20.89103
51.878053
258.657232
4.366865
2.954
War on Terror Impact
1
2,014
1.887
7.189384
925,800
3.09658
-19.214126
23.492732
20.865991
51.563307
271.390475
4.116428
1.827
War on Terror Impact
1
2,015
1.673
2.529328
935,800
3.162987
-20.214679
23.262841
19.602615
52.686581
299.963591
4.217942
3.566
null
0
2,016
2.576
3.765119
935,800
3.203777
-22.669632
22.32833
18.150118
52.747402
313.63
6.573838
2.285
null
0
2,017
2.496
4.085374
936,000
3.364449
-30.626231
21.963204
18.099327
53.249254
339.205535
4.432626
3.204
null
0
2,018
1.737
5.078057
944,800
3.586962
-37.259759
21.651235
18.589052
52.932316
356.128167
6.151703
4.083
null
0
2,019
2.234
10.578362
943,000
3.50584
-32.488393
20.677871
19.563895
53.620483
320.909473
2.497637
4.83
null
0
2,020
2.057
9.739993
943,000
3.486679
-24.392041
21.854133
18.589464
53.680281
300.42561
-1.274087
5.994
COVID-19 Pandemic
0
2,021
2.147
9.496211
943,000
3.389239
-31.11285
22.662508
18.896408
52.025507
348.516647
6.513886
6.338
null
0
2,022
1.462
19.87386
943,000
3.176832
-44.800039
22.326865
20.412596
52.231294
374.890296
4.778107
5.291
Political Crisis & Major Floods
0
2,023
2.048
30.768128
943,000
2.8808
-25.183381
23.426704
20.718695
50.969335
336.686349
-0.414936
5.237
null
0
2,024
2.663
12.632532
943,000
2.6676
-25.257704
23.743286
20.245755
50.731939
371.57
3.048983
5.492
null
0
2,025
2.663
12.632532
943,000
2.6676
-25.257704
23.743286
20.245755
50.731939
371.57
3.048983
5.492
null
0
2,026
null
null
null
null
null
null
null
null
null
null
null
null
null
2,027
null
null
null
null
null
null
null
null
null
null
null
null
null
2,028
null
null
null
null
null
null
null
null
null
null
null
null
null
2,029
null
null
null
null
null
null
null
null
null
null
null
null
null
2,030
null
null
null
null
null
null
null
null
null
null
null
null
null
2,031
null
null
null
null
null
null
null
null
null
null
null
null
null
2,032
null
null
null
null
null
null
null
null
null
null
null
null
null
2,033
null
null
null
null
null
null
null
null
null
null
null
null
null
2,034
null
null
null
null
null
null
null
null
null
null
null
null
null
2,035
null
null
null
null
null
null
null
null
null
null
null
null
null
2,036
null
null
null
null
null
null
null
null
null
null
null
null
null

Pakistan Economic Development Analysis (1947-2036)

Pakistan Economic Development, Predictions and Geopolitical Analysis (1947-2036)

Dataset Info

  • Source: Kaggle
  • Original Size: 0.01 MB
  • Kaggle Downloads: 0
  • Files: 2

Files

  • pakistan_economic_data_1947_2025.csv
  • pakistan_economic_forecast_2026_2036.csv

Mirrored from Kaggle

Downloads last month
16