Dataset Viewer
Auto-converted to Parquet Duplicate
district_code
int64
1
170
province
large_stringclasses
5 values
division
large_stringlengths
4
20
district
large_stringlengths
4
23
area_sq_km
int64
69
44.7k
population_2023
int64
128k
13M
male
int64
67.4k
6.88M
female
int64
60.2k
6.12M
transgender
int64
0
3.38k
urban_population
int64
0
13M
rural_population
int64
0
4.68M
urban_pct
float64
0
100
sex_ratio_males_per_100_females
float64
96.9
127
households
int64
16.4k
2.01M
avg_household_size
float64
4.18
9.11
population_density_per_sq_km
float64
6.02
55.4k
population_2017
int64
97.1k
11.1M
annual_growth_rate_pct
float64
0.32
9.51
literacy_rate_pct
float64
18.8
84
literacy_rate_male_pct
float64
24.2
88.2
literacy_rate_female_pct
float64
10.3
83.3
out_of_school_5_16_pct
float64
10.5
83.3
disability_pct
float64
1.43
17.2
age_0_14_pct
float64
27
54.1
age_65_plus_pct
float64
1.4
6.59
hh_pacca_house_pct
float64
2.8
97.4
hh_electricity_pct
float64
2.32
99.1
hh_gas_pct
float64
0.33
97.8
hh_internet_pct
float64
1.17
53.9
hh_mobile_pct
float64
28.3
92.4
hh_tv_pct
float64
0.29
75.7
hh_drinking_water_inside_pct
float64
10.7
97.9
hh_no_toilet_pct
float64
0
67.4
hh_member_abroad_pct
float64
0.03
36.9
85
Balochistan
Kalat
Awaran
29,510
178,958
91,623
87,318
17
46,836
132,122
26.17
104.93
27,808
6.44
6.06
121,821
6.64
36.34
44.27
27.95
51.66
4.41
44.4
2.41
12.57
12.01
1.12
2.94
61.77
5.23
33.09
20.91
0.78
86
Balochistan
Kalat
Kalat
7,654
271,560
138,611
132,942
7
44,440
227,120
16.36
104.26
33,415
8.13
35.48
203,565
4.93
39.7
49.54
29.41
51.03
6.98
46.73
2.1
5.41
41.99
1.08
3.14
54.29
5.8
24.78
25.36
0.05
88
Balochistan
Kalat
Khuzdar
35,380
997,214
537,313
459,867
34
364,378
632,836
36.54
116.84
161,594
6.17
28.19
798,896
3.78
38.59
44.9
31.42
65.13
5.52
47
2.1
9.47
36.01
0.81
6.36
50.69
7.09
32.59
29.06
0.37
89
Balochistan
Kalat
Lasbela
15,153
680,977
348,840
332,112
25
330,585
350,392
48.55
105.04
115,635
5.89
44.94
576,271
2.83
36.47
45.86
26.48
56.91
7.98
38.97
2.94
48.18
60.94
17.53
7.28
72.11
9.14
22.5
21.01
0.79
90
Balochistan
Kalat
Mastung
3,308
313,271
166,679
146,589
3
40,374
272,897
12.89
113.7
43,736
7.16
94.7
265,676
2.79
45.97
57.26
33.27
52.89
6.36
43.83
2.23
8.43
71.87
33.72
13.8
66.85
14.74
37.39
7.46
0.08
164
Balochistan
Kalat
Surab
762
279,038
141,648
137,372
18
36,468
242,570
13.07
103.11
51,021
5.47
366.19
208,493
4.99
37.44
45.16
29.58
69.41
5.28
49.81
1.48
2.95
47.14
6.32
2.04
43.79
5.79
30.27
16.98
0.35
109
Balochistan
Loralai
Barkhan
3,514
210,249
109,624
100,617
8
14,425
195,824
6.86
108.95
23,069
9.11
59.83
171,025
3.51
33.62
41.62
24.93
57.84
9.9
49.84
2.78
5.66
45.91
0.42
4.51
66.58
5.36
10.71
55.13
0.44
165
Balochistan
Loralai
Duki
4,233
205,044
107,221
97,775
48
9,783
195,261
4.77
109.66
43,069
4.76
48.44
152,977
5.02
44.18
53.88
33.43
70.52
4.94
40.66
1.77
5.09
57.05
0.82
11.83
54.95
17.15
59.66
27.89
0.07
111
Balochistan
Loralai
Loralai
3,785
272,432
142,774
129,641
17
59,601
212,831
21.88
110.13
38,284
7.12
71.98
244,446
1.83
43.16
54.26
30.81
48.98
7.09
46.27
2.27
8.5
54.68
1.09
8.03
73.14
10.57
34.36
29.67
0.11
112
Balochistan
Loralai
Musakhel
5,728
182,275
96,706
85,566
3
15,805
166,470
8.67
113.02
31,257
5.83
31.82
167,243
1.45
36.6
47.5
24.72
51.33
7.69
50.02
2.3
9.37
24.76
0.49
7.19
66.62
5.55
25.61
53.38
0.06
92
Balochistan
Mekran
Gwadar
12,637
305,160
160,744
144,385
31
159,035
146,125
52.12
111.33
50,376
6.06
24.15
262,253
2.56
50.3
57.62
42.19
33.79
9.42
37.59
2.93
51.41
80.11
5.82
10.87
63.4
25.56
62.58
12.18
0.25
93
Balochistan
Mekran
Kech
22,539
1,060,931
555,219
505,589
123
386,646
674,285
36.44
109.82
253,526
4.18
47.07
907,182
2.65
49.65
55.22
43.46
44.19
7.14
38.33
2.27
17.88
60.97
0.81
5.98
35.07
19.27
56.35
18.18
1.52
94
Balochistan
Mekran
Panjgur
16,891
509,781
269,372
240,314
95
157,693
352,088
30.93
112.09
117,157
4.35
30.18
315,353
8.36
42.07
45.79
37.8
63.08
8.95
37.25
2.26
7.1
45.84
1.87
1.17
29.56
22.44
63.2
19.95
0.42
95
Balochistan
Nasirabad
Jaffarabad
1,643
594,558
301,370
293,177
11
163,393
431,165
27.48
102.79
81,580
7.29
361.87
513,972
2.46
35.53
44.43
26.37
64.19
4.87
46.51
2.11
21.12
74.58
13.75
5.07
60.79
14.17
24.21
33.99
0.16
96
Balochistan
Nasirabad
Jhal Magsi
3,615
203,368
103,422
99,933
13
24,130
179,238
11.87
103.49
30,967
6.57
56.26
148,900
5.35
30.14
37.89
22.09
66.09
5.52
45.32
1.99
3.16
44.94
0.66
3.52
51.72
8.67
18.1
37.73
0.19
97
Balochistan
Nasirabad
Kachhi
5,682
442,674
233,584
209,056
34
80,452
362,222
18.17
111.73
50,035
8.85
77.91
308,000
6.25
30.2
36.46
23.29
76.6
5.06
47.84
1.87
8.95
77.44
13.81
6.76
52.06
16.65
21.73
14.03
0.03
98
Balochistan
Nasirabad
Nasirabad
3,387
563,315
287,902
275,395
18
106,952
456,363
18.99
104.54
87,540
6.43
166.32
489,779
2.37
28.96
36.43
21.18
73.06
3.56
47.57
1.98
12.72
70.36
4.67
7.24
60.81
14.49
32.48
40.26
0.07
153
Balochistan
Nasirabad
Sohbatpur
802
240,106
121,863
118,241
2
14,728
225,378
6.13
103.06
33,738
7.12
299.38
200,426
3.06
41.02
53.26
28.42
54.97
4.43
51.73
1.95
15.96
77.02
2.41
4.51
70.18
12.9
32.02
50.13
0.12
167
Balochistan
Quetta
Chaman
1,341
466,218
261,194
205,011
13
130,139
336,079
27.91
127.4
61,942
7.53
347.66
434,561
1.18
39.97
47.73
30.6
65.81
5.16
48.35
1.61
12.77
67.1
4.27
21.68
67.9
9.04
54.93
4.45
0.43
100
Balochistan
Quetta
Killa Abdullah
3,553
361,971
189,172
172,783
16
35,384
326,587
9.78
109.49
67,308
5.38
101.88
323,793
1.88
36.4
47.28
24.7
76.92
4.97
44.76
1.89
3.2
26.48
2.05
11.06
51.6
4.68
53.47
11.12
0.07
102
Balochistan
Quetta
Pishin
6,218
835,482
426,597
408,862
23
243,785
591,697
29.18
104.34
147,241
5.67
134.37
736,903
2.12
51.07
65.85
36.05
59.15
6.38
46.29
1.83
7.48
53.46
38.89
13.59
66.77
7.33
56.76
8.62
0.09
103
Balochistan
Quetta
Quetta
3,447
2,595,492
1,319,869
1,275,512
111
1,565,546
1,029,946
60.32
103.48
288,690
8.99
752.97
2,269,473
2.27
56.29
65.06
46.96
37.14
8.76
39.77
2.24
59.01
92.9
85.05
18.59
81.67
32
35.45
1.32
1.14
99
Balochistan
Rakhshan
Chagai
44,748
269,192
139,922
129,265
5
20,054
249,138
7.45
108.24
38,234
7.04
6.02
226,517
2.93
33.15
41.9
23.57
67.45
6.82
46.89
1.98
8.84
35.23
1.31
3.21
66.4
7.71
44.47
24.74
0.88
87
Balochistan
Rakhshan
Kharan
14,958
260,352
139,695
120,646
11
80,806
179,546
31.04
115.79
35,879
7.26
17.41
162,766
8.17
41.07
51.78
29.36
61.74
4.98
51.02
1.56
4.18
59.6
0.51
5
51.41
11.05
42.27
15.66
0.22
101
Balochistan
Rakhshan
Nushki
5,797
207,834
108,271
99,558
5
48,572
159,262
23.37
108.75
31,268
6.65
35.85
178,947
2.53
57.12
69.24
44.16
44.97
4.34
43.43
2.24
18.66
84.65
3.85
12.4
75.73
12.59
62.96
9.34
1.07
91
Balochistan
Rakhshan
Washuk
33,093
302,623
162,913
139,685
25
41,107
261,516
13.58
116.63
49,080
6.17
9.14
175,712
9.51
21.58
26.76
15.76
71.93
7.68
49.89
1.73
3.14
26.29
0.8
2.99
36.54
4.71
28.84
42.82
0.11
104
Balochistan
Sibi
Dera Bugti
10,160
355,274
194,587
160,683
4
108,447
246,827
30.52
121.1
62,298
5.7
34.97
313,110
2.13
24.07
34.4
11.88
71.68
1.43
51.61
1.78
15.17
34.29
23.75
3.71
48.84
8.34
26.42
57.73
0.26
105
Balochistan
Sibi
Harnai
2,492
127,571
67,362
60,205
4
33,433
94,138
26.21
111.89
16,400
7.78
51.19
97,052
4.68
39.83
48.91
29.71
69.56
8.05
51.95
2.05
16.41
70.41
0.64
7.08
65.31
10.85
50.84
46.79
0.12
106
Balochistan
Sibi
Kohlu
7,610
260,220
136,243
123,961
16
18,978
241,242
7.29
109.91
38,115
6.83
34.19
213,933
3.33
28.53
32.64
23.93
71.34
11.61
46.59
2.06
5.78
18.61
0.49
2.37
28.27
5
17.36
67.39
0.05
107
Balochistan
Sibi
Sibi
7,121
224,148
115,033
109,110
5
69,300
154,848
30.92
105.43
31,303
7.16
31.48
179,751
3.76
47.41
55.72
38.63
62.52
8.46
43.71
2.21
23.49
69.92
33.08
7.61
57.22
38.21
48.15
11.49
0.04
108
Balochistan
Sibi
Ziarat
3,301
189,535
96,172
93,355
8
49,402
140,133
26.06
103.02
22,900
8.28
57.42
160,095
2.86
43.37
53.06
33.49
61.84
6.74
50.53
2
6.45
47.17
26.98
18.33
73.63
2.66
24.87
40.64
0.07
110
Balochistan
Zhob
Killa Saifullah
6,831
380,200
199,074
181,125
1
64,175
316,025
16.88
109.91
70,021
5.43
55.66
342,932
1.74
32.96
43.93
21.24
62.62
5.55
48.95
2.21
4.77
44.28
0.61
8.23
66.43
8.44
42.7
51.61
0.06
113
Balochistan
Zhob
Sherani
4,310
191,687
105,345
86,336
6
0
191,687
0
122.02
36,108
5.31
44.47
152,952
3.84
23.86
31.53
15.02
77.94
3.56
48.66
1.42
16.89
2.32
1.28
5.02
44.1
2.12
51.49
27.53
4.45
114
Balochistan
Zhob
Zhob
15,987
355,692
192,202
163,485
5
46,976
308,716
13.21
117.57
47,925
7.42
22.25
310,354
2.3
36.62
45.24
26.81
54.37
6.16
54.08
1.92
19.11
48.97
1.38
7.03
57.22
8.66
56.47
36.67
0.35
128
Islamabad Capital Territory
Federal Capital Area
Islamabad
906
2,363,863
1,247,693
1,115,900
270
1,108,872
1,254,991
46.91
111.81
411,518
5.74
2,609.12
2,003,368
2.8
83.97
88.21
79.13
15.06
8.16
27.91
4.31
97.35
96.58
61.47
39.72
89.45
67.6
58.72
1
5.86
1
Khyber Pakhtunkhwa
Bannu
Bannu
1,972
1,357,890
706,094
651,777
19
48,398
1,309,492
3.56
108.33
183,246
7.41
688.59
1,210,183
1.94
41.75
58.47
23.84
47.85
12.44
41
2.83
52.43
84.58
10.41
13.04
80.13
4.52
83.4
21.07
11.73
2
Khyber Pakhtunkhwa
Bannu
Lakki Marwat
3,296
1,040,856
527,121
513,722
13
103,089
937,767
9.9
102.61
131,894
7.89
315.79
902,138
2.42
48.47
67.36
28.95
42.86
10.03
40.95
3.19
43.77
76.97
8.85
12.6
85.51
4.75
65.47
12.14
2.76
119
Khyber Pakhtunkhwa
Bannu
North Waziristan
4,707
693,332
354,636
338,681
15
4,131
689,201
0.6
104.71
99,625
6.96
147.3
540,546
4.25
32.82
46.94
18.03
66.93
7.29
45.51
2.01
18.9
52.62
0.9
2.81
60.82
10.19
50.18
25.96
8.4
3
Khyber Pakhtunkhwa
Dera Ismail Khan
Dera Ismail Khan
9,334
1,829,811
959,405
870,255
151
374,757
1,455,054
20.48
110.24
270,189
6.77
196.04
1,693,594
1.3
46.58
58.13
33.71
44.72
7.69
38.66
3.26
46.41
80.83
11.93
7.43
79.33
15.1
61.18
0.51
1.81
121
Khyber Pakhtunkhwa
Dera Ismail Khan
South Waziristan
6,620
888,675
459,531
429,130
14
0
888,675
0
107.08
178,665
4.97
134.24
675,215
4.7
31.96
42.63
20.38
65.62
6.5
42.19
2.35
2.8
30.89
0.9
2.36
43.13
6.8
32.35
18.8
1.35
4
Khyber Pakhtunkhwa
Dera Ismail Khan
Tank
2,900
470,293
241,589
228,703
1
49,172
421,121
10.46
105.63
70,694
6.65
162.17
427,044
1.63
40.67
56.89
23.18
49.05
6.91
43.41
2.52
26.74
68.57
5.92
12.75
75.61
6.17
48.97
11.43
2.23
5
Khyber Pakhtunkhwa
Hazara
Abbottabad
1,967
1,419,072
712,218
706,750
104
332,315
1,086,757
23.42
100.77
237,020
5.99
721.44
1,333,089
1.05
77.34
86.19
68.42
11.82
11.85
30.83
4.85
81.9
98.88
43.94
13.74
92.35
45.72
59.67
5.04
9.57
6
Khyber Pakhtunkhwa
Hazara
Batagram
1,301
554,133
281,298
272,825
10
0
554,133
0
103.11
86,224
6.43
425.93
476,749
2.55
39.09
54.68
23.34
45.13
8.76
40.55
3.73
56.19
67.17
0.46
10.09
90.49
1.66
42.22
21.44
14.9
7
Khyber Pakhtunkhwa
Hazara
Haripur
1,725
1,174,783
591,540
583,198
45
147,765
1,027,018
12.58
101.43
192,658
6.1
681.03
1,001,515
2.7
74.88
84.13
65.61
13.76
13.86
30.92
5.12
86.32
97.77
39.69
15.7
89.58
50.44
69.14
3.85
12.56
8
Khyber Pakhtunkhwa
Hazara
Kolai Palas Kohistan
1,410
280,162
142,588
137,572
2
0
280,162
0
103.65
40,393
6.94
198.7
274,923
0.32
18.8
24.24
13.14
83.29
3.02
53.93
1.45
6.91
15.81
0.51
1.77
49.15
1.41
17.41
34.55
0.16
169
Khyber Pakhtunkhwa
Hazara
Lower Kohistan
642
340,017
173,655
166,351
11
0
340,017
0
104.39
52,318
6.5
529.62
202,502
9.05
22.05
33.31
10.32
79.37
5.18
54.1
1.4
22.43
36.62
0.75
5.59
56.82
5.83
36.62
30.88
0.87
9
Khyber Pakhtunkhwa
Hazara
Mansehra
4,125
1,797,177
912,164
884,906
107
154,834
1,642,343
8.62
103.08
294,113
6.11
435.68
1,555,742
2.44
63.79
75.33
52.02
20.5
9.29
34.39
4.26
77.01
95.21
15.61
9.51
89.72
21.79
49.36
8.55
8.74
10
Khyber Pakhtunkhwa
Hazara
Torghar
454
200,445
102,160
98,281
4
0
200,445
0
103.95
29,417
6.81
441.51
171,349
2.66
29.74
46.57
12.46
54.82
7.25
42.1
3.94
10.66
31.62
0.55
4.51
86.18
0.29
26.34
52.52
2.3
168
Khyber Pakhtunkhwa
Hazara
Upper Kohistan
5,440
422,947
216,184
206,759
4
0
422,947
0
104.56
71,543
5.91
77.75
307,286
5.48
19.05
27.46
10.28
79.36
4.69
51.84
1.56
8.03
20.91
0.33
3.46
46.78
2.68
22.79
42.87
0.07
11
Khyber Pakhtunkhwa
Kohat
Hangu
1,097
528,902
260,293
268,601
8
85,727
443,175
16.21
96.91
61,163
8.65
482.13
518,811
0.32
43.15
66.04
22.02
42.41
10.05
37.3
3.43
63.35
68.76
14.67
19.28
88.07
6.39
65.83
6.58
36.86
12
Khyber Pakhtunkhwa
Kohat
Karak
3,371
815,878
421,292
394,575
11
58,065
757,813
7.12
106.77
96,026
8.5
242.03
705,362
2.46
65.36
84.12
45.6
27.75
12.64
37.08
3.48
60.68
75.24
28.7
15.65
88.95
4.05
28.26
0.26
7.38
13
Khyber Pakhtunkhwa
Kohat
Kohat
2,991
1,234,661
629,566
605,066
29
278,741
955,920
22.58
104.05
169,734
7.27
412.79
1,111,266
1.78
58.55
76.37
40.28
30.63
12.78
34.74
3.65
72.23
87.74
35.99
16.82
85.62
13.77
70.02
5.74
14.84
117
Khyber Pakhtunkhwa
Kohat
Kurram
3,380
785,434
406,914
378,505
15
45,471
739,963
5.79
107.51
94,575
8.3
232.38
615,372
4.16
35.22
49.39
20.65
54.14
7.64
43.46
2.62
23.14
51.37
1.55
10.74
69.91
11.49
52.53
14.15
17.29
120
Khyber Pakhtunkhwa
Kohat
Orakzai
1,538
387,561
204,870
182,684
7
0
387,561
0
112.14
52,108
7.44
251.99
254,303
7.3
33.57
50.69
14.97
53.31
7.84
44.38
2.29
4.33
28.72
0.71
10.77
61.58
4.81
32.8
0
5.24
115
Khyber Pakhtunkhwa
Malakand
Bajaur
1,290
1,287,960
650,798
637,147
15
0
1,287,960
0
102.14
181,721
7.09
998.42
1,090,987
2.81
26.26
39.88
12.29
63.31
6.85
45.35
2.35
15.05
25.97
0.74
7.81
82.59
1
56.27
20.42
4.73
14
Khyber Pakhtunkhwa
Malakand
Buner
1,865
1,016,869
508,172
508,669
28
0
1,016,869
0
99.9
118,692
8.57
545.24
895,460
2.15
43.75
60.61
27.4
36.46
9.96
38.6
3.57
57.65
80.35
0.35
11.27
83.89
2.73
68.49
22.87
26.65
15
Khyber Pakhtunkhwa
Malakand
Lower Chitral
6,458
320,407
163,584
156,823
0
57,157
263,250
17.84
104.31
46,050
6.96
49.61
278,328
2.38
66.1
76.81
54.77
19.79
7.75
33.96
5.13
28.44
86.55
0.36
8.05
82.35
29.64
63.98
8.45
4.48
16
Khyber Pakhtunkhwa
Malakand
Lower Dir
1,583
1,650,183
813,551
836,605
27
47,860
1,602,323
2.9
97.24
202,899
8.13
1,042.44
1,436,082
2.35
57.36
72.57
43.16
27.25
4.95
40.86
3.37
61.89
92.98
8.59
20.92
91.86
4.5
49.59
7.14
34.96
17
Khyber Pakhtunkhwa
Malakand
Malakand Protected Area
952
826,250
422,792
403,446
12
73,525
752,725
8.9
104.8
113,159
7.3
867.91
717,806
2.38
61.66
71.91
51.05
21.32
7.8
37.36
3.46
69.68
96.79
34.42
16.36
86.47
7.11
79.12
8.7
19.12
18
Khyber Pakhtunkhwa
Malakand
Shangla
1,586
891,252
459,965
431,281
6
0
891,252
0
106.65
125,551
7.1
561.95
759,609
2.71
33.74
48.82
17.82
52.17
8.37
43.12
3.03
46.23
74.51
0.53
6.94
85.83
2.76
53.53
25.33
6.79
19
Khyber Pakhtunkhwa
Malakand
Swat
5,337
2,687,384
1,375,358
1,311,939
87
794,368
1,893,016
29.56
104.83
381,246
7.05
503.54
2,308,624
2.57
48.13
61.83
33.95
32.58
6.41
38.48
3.2
67.29
94.55
18.13
13.15
90.18
8.35
59.24
9.16
19.03
170
Khyber Pakhtunkhwa
Malakand
Upper Chitral
8,392
195,528
100,495
95,033
0
0
195,528
0
105.75
26,368
7.42
23.3
169,297
2.44
73.83
84.87
62.11
10.46
6.52
28.25
6.3
5.14
86.68
0.44
8.64
90.47
40.08
28.42
1.5
7.15
20
Khyber Pakhtunkhwa
Malakand
Upper Dir
3,699
1,083,566
537,290
546,264
12
47,842
1,035,724
4.42
98.36
149,557
7.25
292.93
947,401
2.27
46.77
62.76
31.67
35.89
8.22
44.91
3.11
32.83
80.81
0.52
6.19
89.9
1.36
28.39
15.31
24.43
21
Khyber Pakhtunkhwa
Mardan
Mardan
1,632
2,744,898
1,408,776
1,336,069
53
453,342
2,291,556
16.52
105.44
400,904
6.85
1,681.92
2,373,399
2.46
55.79
68.31
42.66
27.31
10.36
36.41
3.53
72.91
95.72
31.91
9.95
87.32
9.33
93.85
4.66
13.08
22
Khyber Pakhtunkhwa
Mardan
Swabi
1,543
1,894,600
959,045
935,520
35
339,670
1,554,930
17.93
102.51
279,035
6.79
1,227.87
1,625,477
2.59
58.48
72.34
44.5
25.34
7.28
35.11
4.16
77.28
94.69
15.13
7.08
88.36
5.24
83.94
8.93
16.94
23
Khyber Pakhtunkhwa
Peshawar
Charsadda
996
1,835,504
950,872
884,613
19
292,426
1,543,078
15.93
107.49
263,993
6.95
1,842.88
1,610,960
2.2
53.94
66.55
40.36
29.11
9.47
37.41
3.55
66.65
89.56
32.85
11.99
82.6
7.55
94.99
3.68
10.9
116
Khyber Pakhtunkhwa
Peshawar
Khyber
2,576
1,146,267
598,268
547,989
10
94,707
1,051,560
8.26
109.18
166,829
6.87
444.98
984,246
2.58
38.45
58.08
17.16
50.77
4.81
43.54
2.01
23.87
32.57
2.1
16.25
84.77
1.65
38.01
10.07
5.15
118
Khyber Pakhtunkhwa
Peshawar
Mohmand
2,296
553,933
281,384
272,543
6
0
553,933
0
103.24
63,982
8.66
241.26
474,345
2.63
31.28
46.85
15.1
62.04
8.39
43.78
2.78
14.7
38.45
0.86
6.82
80.68
2.35
41.87
21.98
8.84
24
Khyber Pakhtunkhwa
Peshawar
Nowshera
1,748
1,740,705
886,471
854,184
50
341,959
1,398,746
19.64
103.78
259,911
6.7
995.83
1,520,995
2.28
56.78
68.53
44.49
26.33
9.39
35.4
3.11
62.43
93.88
53.88
11
85.47
19.51
79.67
5.36
6.76
25
Khyber Pakhtunkhwa
Peshawar
Peshawar
1,518
4,758,762
2,425,808
2,332,767
187
1,905,975
2,852,787
40.05
103.99
691,505
6.88
3,134.89
4,331,959
1.58
53.28
64.9
41.09
34.54
9.01
36.64
2.58
66.94
91.7
57.21
18.46
86.51
22.59
86.72
3.96
5.31
26
Punjab
Bahawalpur
Bahawalnagar
8,878
3,550,342
1,845,493
1,704,479
370
974,118
2,576,224
27.44
108.27
558,333
6.36
399.9
2,975,656
3
57.01
63.54
49.95
31.94
10.24
35.31
4.07
68.79
92.81
7.99
7.23
83.8
35.69
68.81
17.48
2.87
27
Punjab
Bahawalpur
Bahawalpur
24,830
4,284,964
2,174,995
2,109,500
469
1,619,321
2,665,643
37.79
103.1
674,155
6.36
172.57
3,669,176
2.63
53.35
59.39
47.09
38.46
8.96
36.37
3.65
74.5
93.05
21.75
9.11
84.22
38.21
77.69
13.53
3.39
28
Punjab
Bahawalpur
Rahim Yar Khan
11,880
5,564,703
2,896,819
2,667,333
551
1,342,252
4,222,451
24.12
108.6
827,525
6.72
468.41
4,807,762
2.47
47.94
55.13
40.15
45.81
12.2
37.94
3.46
67.43
90.41
20.36
9.79
82.08
37.32
68.93
14.23
3.53
29
Punjab
Dera Ghazi Khan
Dera Ghazi Khan
11,922
3,393,705
1,712,930
1,680,654
121
807,412
2,586,293
23.79
101.92
454,711
7.46
284.66
2,872,631
2.83
46.78
56.17
37.2
46.87
9.37
42.04
3.33
53.15
80.73
12.04
8.21
80.65
18.47
63.51
26.12
10.45
30
Punjab
Dera Ghazi Khan
Layyah
6,289
2,102,386
1,082,922
1,019,375
89
386,282
1,716,104
18.37
106.23
341,276
6.16
334.3
1,823,995
2.4
61.83
70.91
52.21
23.51
11.14
36.12
3.51
78.3
85.44
5.99
5.89
89.36
30.11
93.72
11.93
2.64
31
Punjab
Dera Ghazi Khan
Muzaffargarh
8,249
5,015,325
2,546,877
2,468,339
109
946,794
4,068,531
18.88
103.18
804,783
6.23
607.99
4,328,549
2.49
47.99
55.95
39.72
44.06
11.01
40.38
3.09
60.71
91.07
10.84
5.01
79.73
25.13
94.01
21.12
2.41
32
Punjab
Dera Ghazi Khan
Rajanpur
12,318
2,381,049
1,209,183
1,171,748
118
631,223
1,749,826
26.51
103.19
354,271
6.72
193.3
1,996,039
2.99
36.09
43.68
28.18
56.32
8.66
43.48
3.01
39.94
57.39
1.11
5.09
75.34
18.6
76.6
37.63
3.65
33
Punjab
Faisalabad
Chiniot
2,643
1,563,024
790,731
772,126
167
491,672
1,071,352
31.46
102.41
256,660
6.09
591.38
1,368,659
2.24
55.05
64.63
45.19
28.48
10.06
34.06
4.6
77.91
94.2
24.63
11.97
83.5
44.35
87.7
29
2.8
34
Punjab
Faisalabad
Faisalabad
5,857
9,075,819
4,731,224
4,343,633
962
4,392,979
4,682,840
48.4
108.92
1,384,668
6.55
1,549.57
7,882,444
2.38
73.41
77.33
69.11
19.88
9.69
31.02
3.9
89.46
97.87
56.66
18.62
87.38
66.35
33.25
5.29
4.92
35
Punjab
Faisalabad
Jhang
6,166
3,065,639
1,585,616
1,479,771
252
800,926
2,264,713
26.13
107.15
494,761
6.2
497.18
2,743,526
1.87
59.45
69.08
49.14
27.3
13.62
34.74
4.27
80.77
92.41
16.67
7.26
85.44
30.44
92.37
20.79
2.21
36
Punjab
Faisalabad
Toba Tek Singh
3,252
2,524,044
1,295,646
1,228,162
236
563,525
1,960,519
22.33
105.49
391,861
6.44
776.15
2,190,602
2.4
71.38
76.37
66.13
20.77
12.84
31.5
4.65
85.85
96.61
37.8
13.02
86.92
55.52
66.96
7.51
8.05
37
Punjab
Gujranwala
Gujranwala
3,622
5,959,750
3,028,290
2,930,923
537
3,593,971
2,365,779
60.3
103.32
849,524
7.02
1,645.43
5,011,066
2.94
76.77
78.13
75.36
20.04
12.37
33.89
3.58
87.37
98.51
74.22
21.31
85.77
66.09
77.36
1.53
11.13
38
Punjab
Gujranwala
Gujrat
3,192
3,219,375
1,608,221
1,610,964
190
1,324,264
1,895,111
41.13
99.83
489,589
6.58
1,008.58
2,756,289
2.63
81.37
84.8
77.95
14.52
14.18
28.85
5.55
87.66
98.48
50.39
29.32
90.86
64.1
67.07
2.87
28.71
39
Punjab
Gujranwala
Hafizabad
2,367
1,319,909
670,023
649,826
60
504,380
815,529
38.21
103.11
197,277
6.69
557.63
1,156,954
2.23
65.77
70.7
60.65
21.72
11.83
32.21
4.48
77.71
98.1
73.88
12.1
86.37
57.75
72.4
8.6
8.29
40
Punjab
Gujranwala
Mandi Bahauddin
2,673
1,829,486
917,125
912,222
139
346,141
1,483,345
18.92
100.54
286,168
6.39
684.43
1,594,039
2.33
70.27
74.89
65.7
22.72
15.84
31.89
5.21
78.89
98.03
35.28
20.71
88.37
58.74
57.65
10.78
23.53
41
Punjab
Gujranwala
Narowal
2,337
1,950,954
996,445
954,424
85
349,095
1,601,859
17.89
104.4
281,628
6.93
834.81
1,707,575
2.25
75.28
79.88
70.49
14.48
10.51
32.57
4.54
82.8
98.77
13.92
10.01
88.02
52.99
85.32
4.44
14.11
42
Punjab
Gujranwala
Sialkot
3,016
4,499,394
2,277,939
2,220,596
859
1,481,968
3,017,426
32.94
102.58
671,589
6.7
1,491.84
3,894,938
2.44
78.37
80.21
76.5
12.64
8.1
31.92
4.26
89.99
98.49
56.92
18.91
88.26
69.49
61.21
2.45
18.77
43
Punjab
Lahore
Kasur
3,995
4,084,286
2,087,217
1,996,670
399
1,243,882
2,840,404
30.46
104.53
645,838
6.32
1,022.35
3,454,881
2.84
62.85
67.96
57.44
23.58
9.48
35.3
3.52
83.74
98.05
26.6
9.07
86
44
75.09
5.12
1.45
44
Punjab
Lahore
Lahore
1,772
13,004,135
6,881,801
6,118,958
3,376
13,004,135
0
100
112.47
2,012,526
6.46
7,338.68
11,119,985
2.65
79.62
81.39
77.59
21.45
11.53
31.58
3.47
96.29
98.04
84.55
37.66
87.82
75.68
63.62
1.83
3.24
45
Punjab
Lahore
Nankana Sahib
2,216
1,634,871
831,931
802,859
81
323,388
1,311,483
19.78
103.62
247,121
6.62
737.76
1,354,986
3.19
63.12
68.38
57.63
23.31
8.77
33.54
4.09
74.92
98.02
39.21
15.91
83.93
58.6
32.24
8.09
5.4
46
Punjab
Lahore
Sheikhupura
3,744
4,049,418
2,079,378
1,969,434
606
1,550,793
2,498,625
38.3
105.58
593,506
6.82
1,081.58
3,460,004
2.66
68.88
72.08
65.46
23.24
8.62
34
3.35
86.49
98.32
54.16
15.34
85.06
69.55
71.02
2.3
5.16
47
Punjab
Multan
Khanewal
4,349
3,364,077
1,734,655
1,629,036
386
716,786
2,647,291
21.31
106.48
526,609
6.39
773.53
2,920,233
2.39
60.97
69.25
52.18
27.8
13.44
34.31
3.84
79.98
96
24.14
10.69
87.32
37.27
91.33
9.9
3.55
48
Punjab
Multan
Lodhran
2,778
1,928,299
997,846
930,336
117
325,053
1,603,246
16.86
107.26
324,020
5.95
694.13
1,699,693
2.13
51.68
60.63
42.12
37.02
7.43
35.69
3.63
76.13
95.48
10.78
5.75
86.46
32.53
77.67
11.96
3.89
49
Punjab
Multan
Multan
3,720
5,362,305
2,730,613
2,631,285
407
2,499,871
2,862,434
46.62
103.77
887,304
6.04
1,441.48
4,746,166
2.06
61.41
67.27
55.27
31.21
10.53
33.5
3.39
77.4
97.4
45.97
10.73
85.04
50.75
82.83
8.28
3.08
50
Punjab
Multan
Vehari
4,364
3,430,421
1,734,732
1,695,250
439
782,915
2,647,506
22.82
102.33
543,384
6.31
786.07
2,902,081
2.83
59.1
66.42
51.57
31.75
6.85
34.7
3.88
84.81
96.61
14.22
9.19
84.66
44.84
81.81
9.49
5.21
51
Punjab
Rawalpindi
Attock
6,857
2,170,423
1,089,655
1,080,687
81
623,984
1,546,439
28.75
100.83
354,235
6.13
316.53
1,886,378
2.37
70.22
79.69
60.66
17.75
11.11
28.7
5.51
84.96
96.01
53.08
14.56
86.02
52.55
78.53
4.87
7.77
52
Punjab
Rawalpindi
Chakwal
6,525
1,734,854
864,029
870,736
89
434,805
1,300,049
25.06
99.23
288,997
6
265.88
1,495,463
2.51
77.79
86.12
69.52
14.76
12
28.97
6.59
88.36
96.94
30.51
15.82
88.08
62.94
81.21
5.86
9.73
53
Punjab
Rawalpindi
Jhelum
3,587
1,382,308
703,667
678,543
98
541,318
840,990
39.16
103.7
229,227
6.03
385.37
1,222,403
2.08
80.65
86.55
74.53
12.77
10.52
26.95
5.91
82.13
97.98
18.46
26.95
89.38
68.57
77.93
5.54
16.18
54
Punjab
Rawalpindi
Rawalpindi
5,285
6,118,911
3,109,807
3,007,760
1,344
4,210,785
1,908,126
68.82
103.39
999,347
6.12
1,157.79
5,402,380
2.1
83.22
87.88
78.36
15.58
11.35
28.95
4.65
95.63
98.37
70.03
29.66
90.66
72.14
60.78
2.38
7.85
55
Punjab
Sahiwal
Okara
4,377
3,515,490
1,789,744
1,725,411
335
1,187,504
2,327,986
33.78
103.73
550,057
6.39
803.17
3,040,826
2.45
60.25
66.51
53.71
26.51
9.89
34.61
4.12
82.56
97.31
36.25
9.29
83.05
55.11
75.53
9.11
2.4
End of preview. Expand in Data Studio

Pakistan Census 2023 (7th Population and Housing Census): 136 districts, population, literacy, housing

Part of pakdata, a collection of real, openly licensed Pakistan-specific datasets for machine learning. Every value comes from the named public source below; nothing is synthetic or AI-generated.

Rows 136
Default target literacy_rate_pct (regression)
Source Pakistan Bureau of Statistics (7th Population and Housing Census 2023, district results; census23.pbos.gov.pk)
License PBS open government licence (Tier 1 Open Aggregate, reuse with attribution)
Snapshot 2026.11

Load it

# pakdata (scikit-learn style, works offline)   pip install pakdata
from pakdata import load_pak_census_districts
X, y = load_pak_census_districts(return_X_y=True)

# Hugging Face datasets (also gives PyTorch / TensorFlow / JAX formats)
from datasets import load_dataset
ds = load_dataset("junaid008/pak_census_districts", split="train")
torch_ds = ds.with_format("torch")

# pandas / Polars / DuckDB, straight from the Hub
import pandas as pd;  df = pd.read_parquet("hf://datasets/junaid008/pak_census_districts/data/train.parquet")
import polars as pl;  df = pl.read_parquet("hf://datasets/junaid008/pak_census_districts/data/train.parquet")
import duckdb;        duckdb.sql("SELECT * FROM 'hf://datasets/junaid008/pak_census_districts/data/train.parquet'")

Plain CSV (Excel, R, Julia, MATLAB, SPSS, anything): https://huggingface.co/datasets/junaid008/pak_census_districts/resolve/main/csv/pak_census_districts.csv

df <- read.csv("https://huggingface.co/datasets/junaid008/pak_census_districts/resolve/main/csv/pak_census_districts.csv")

JSON API (JavaScript, mobile apps, any language): https://datasets-server.huggingface.co/rows?dataset=junaid008/pak_census_districts&config=default&split=train&offset=0&length=100

Features used by pakdata: province, division, area_sq_km, population_2023, male, female, transgender, urban_population, rural_population, urban_pct, sex_ratio_males_per_100_females, households, avg_household_size, population_density_per_sq_km, population_2017, annual_growth_rate_pct, out_of_school_5_16_pct, disability_pct, age_0_14_pct, age_65_plus_pct, hh_pacca_house_pct, hh_electricity_pct, hh_gas_pct, hh_internet_pct, hh_mobile_pct, hh_tv_pct, hh_drinking_water_inside_pct, hh_no_toilet_pct, hh_member_abroad_pct

Kept in the table but not used as features (ids, raw dates, or columns that would leak the target): district_code, district, literacy_rate_male_pct, literacy_rate_female_pct

Data card

The full data card (column meanings and units, how it was built, caveats, suggested tasks):

.. _pak_census_districts_dataset:

Pakistan Census 2023: district results (population, literacy, housing)
-----------------------------------------------------------------------

**Data Set Characteristics:**

:Number of Instances: 136 (every district enumerated in the 2023 census: Punjab 36,
    Sindh 30, Khyber Pakhtunkhwa 35, Balochistan 34, Islamabad Capital Territory 1)
:Number of Attributes: 29 features + target (34 columns in ``frame``; ``district_code``,
    ``district``, ``literacy_rate_male_pct`` and ``literacy_rate_female_pct`` are kept in
    the frame but not used as features)
:Default target: ``literacy_rate_pct`` (% of population aged 10 and above that is literate)
:Time coverage: census reference period 2023 (enumeration March-May 2023); 2017 census
    population for comparison
:Geographic coverage: Pakistan's four provinces and Islamabad Capital Territory, district
    level (2023 administrative boundaries). Azad Jammu & Kashmir and Gilgit-Baltistan were
    not part of the 2023 census results and are not included.
:Source: Pakistan Bureau of Statistics (PBS), 7th Population and Housing Census 2023
    ("The Digital Census"). District-wise tables: https://www.pbs.gov.pk/census/ ;
    machine-readable district aggregates from the official PBS results portal
    https://census23.pbos.gov.pk/Analysis/DistrictWise
:License: PBS standard open government licence for Tier 1 "Open Aggregate" products
    (tables, indicators, publications, non-confidential APIs), "permitting copying,
    adaptation and commercial/non-commercial reuse with attribution", per the PBS
    Pakistan Official Statistics & Data Dissemination Policy,
    https://www.pbs.gov.pk/data-dissemination/ (read 2026-11-29). (The PBS website
    footer also carries a generic "All Rights Reserved" notice; the dissemination policy
    is the specific grant for statistical tables and is what this dataset relies on.)
:Snapshot: 2026.11 (retrieved 2026-11-29)

**Columns:**

- ``district_code`` (int): PBS district code used by the census portal (identifier, excluded)
- ``province`` (category): Punjab, Sindh, Khyber Pakhtunkhwa, Balochistan, Islamabad Capital Territory
- ``division`` (category): administrative division, 31 levels (Islamabad is "Federal Capital Area")
- ``district`` (str): district name, title-cased from PBS spelling (identifier, excluded)
- ``area_sq_km`` (km^2): district area as printed in PBS Table 1
- ``population_2023`` (persons): total population, PBS Table 1 "All sexes"
- ``male``, ``female``, ``transgender`` (persons): population by sex (Table 1)
- ``urban_population``, ``rural_population`` (persons): population by area type
- ``urban_pct`` (%): urban_population / population_2023 x 100 (Table 1 "urban proportion")
- ``sex_ratio_males_per_100_females``: male / female x 100 (Table 1)
- ``households`` (count): number of households (regular + collective + homeless)
- ``avg_household_size`` (persons): population_2023 / households, 2 decimals (see caveats)
- ``population_density_per_sq_km`` (persons/km^2): population_2023 / area_sq_km (Table 1)
- ``population_2017`` (persons): 2017 census population on 2023 district boundaries (Table 1)
- ``annual_growth_rate_pct`` (%/year): PBS 2017-2023 average annual growth rate (Table 1)
- ``literacy_rate_pct`` (%): literate persons aged 10+ / population aged 10+ (Table 12) **target**
- ``literacy_rate_male_pct`` (%): male literacy 10+ (see caveats; excluded, part of target)
- ``literacy_rate_female_pct`` (%): female literacy 10+ (Table 12; excluded, part of target)
- ``out_of_school_5_16_pct`` (%): out-of-school children aged 5-16 / population aged 5-16
- ``disability_pct`` (%): persons reporting any functional difficulty (Washington Group
  questions, any degree incl. "some difficulty") / persons with a disability response
- ``age_0_14_pct``, ``age_65_plus_pct`` (%): share of the detailed-record population in those age groups
- ``hh_pacca_house_pct`` (%): housing units with pacca (fired brick / concrete) structure
- ``hh_electricity_pct`` (%): households using electricity as main source of lighting
- ``hh_gas_pct`` (%): households using piped natural gas as cooking fuel
- ``hh_internet_pct``, ``hh_mobile_pct``, ``hh_tv_pct`` (%): households with internet / mobile phone / television
- ``hh_drinking_water_inside_pct`` (%): households whose drinking-water source is inside the dwelling
- ``hh_no_toilet_pct`` (%): households with no toilet facility
- ``hh_member_abroad_pct`` (%): households with at least one member living abroad

**How it was built:** ``scripts/build_pak_census_districts.py`` lists the 136 district codes
from the PBS census portal (``/Misc/GetDropDownDataComp/``, Level=3) and fetches each
district's aggregate record from ``/Analysis/GetPopulation/`` (the JSON the portal's own
"District Wise" page uses), two districts per request with 1 s pauses. Headline columns use
the portal's headcount fields, which are the figures printed in PBS Table 1; all percentages,
ratios and densities are computed by pakdata from the published counts and rounded to 2
decimals. No value is imputed and there are no missing values. Rows are sorted by province,
division, district.

Verification against the official PBS PDF tables (https://www.pbs.gov.pk/census/):

- Table 1 (all five province/ICT district PDFs): for 125 districts compared automatically,
  area, population, male, female, transgender, sex ratio, density, urban proportion, 2017
  population and annual growth rate match the printed values exactly (to the printed
  precision); the other 11 (names wrapped across lines in the PDF) were checked by hand on
  the printed figures and also match.
- Table 12: total literacy (10+) matches for all 134 districts parsed from the PDFs
  (2 could not be parsed automatically, not mismatched); female literacy matches for all 134.
- Totals: the 136 districts sum to 241,499,431, exactly the PBS national 2023 total
  (four provinces + ICT); Punjab 127,688,922, Sindh 55,696,147, KP 40,856,097,
  Balochistan 14,894,402, ICT 2,363,863.

**Caveats and known biases:**

- Two population bases. Headcount columns (``population_2023`` ... ``households``) are the
  official Table 1 totals. Literacy, age, disability and household-amenity shares come from
  the detailed census records, whose population is slightly smaller (e.g. Lahore
  12,978,661 vs 13,004,135); shares are therefore not exactly "share of population_2023".
- ``avg_household_size`` is computed at full precision; PBS Table 1 prints one decimal using
  a slightly different rounding/denominator, so about half the districts differ from the
  printed figure by 0.1.
- ``literacy_rate_male_pct``: the portal's "male" literacy counts include transgender
  persons, so it can differ from the male column of Table 12 by up to ~0.03 percentage points
  (7 of 134 districts). Total and female literacy match Table 12 exactly.
- ``hh_*`` amenity shares use slightly different denominators (households for lighting, gas
  and members abroad; housing units for pacca structure; households answering each item for
  internet/mobile/TV/water/toilet).
- The 2017 population and growth rates are as re-tabulated by PBS on 2023 boundaries.
  Several districts were created after 2017; growth rates in Balochistan and the merged
  former-FATA districts are known to be affected by 2017 under-coverage and should be
  interpreted with care. Census results in some districts have been publicly disputed.
- With only 136 rows, use cross-validation and keep models simple. Rows are spatially
  correlated (neighbouring districts in the same division are similar); grouped CV by
  ``division`` or ``province`` gives a more honest error estimate.
- ``out_of_school_5_16_pct`` is strongly (inversely) related to literacy; it is a different
  quantity and is kept as a feature, but dropping it is a good exercise (5-fold R^2 for a
  random forest falls from ~0.92 to ~0.89).
- If you choose ``target="annual_growth_rate_pct"``, drop ``population_2017`` together with
  the 2023 population counts yourself: the growth rate is a direct function of the two
  populations. Without them, growth is very hard to predict (R^2 near 0), which is itself a
  lesson about census data quality.

**Suggested tasks:**

1. Regression (beginner): predict ``literacy_rate_pct`` from housing and amenity indicators
   with linear regression; compare with a random forest using 5-fold CV (R^2 around 0.9).
2. Feature importance / fairness (intermediate): predict ``literacy_rate_female_pct`` (as
   ``target``) and study which features drive the gender literacy gap; use GroupKFold by
   ``province`` to test generalisation to an unseen province.
3. Clustering (intermediate): standardise the ``*_pct`` columns and cluster districts with
   k-means or hierarchical clustering; compare clusters with provinces on a table or map.
4. Classification: label districts as majority-urban (``urban_pct`` > 50) and predict it
   from household amenities, excluding the urban/rural population columns.

**Citation / attribution:** Pakistan Bureau of Statistics (PBS), 7th Population and Housing
Census 2023 ("The Digital Census"), district-level results, https://www.pbs.gov.pk/census/
and https://census23.pbos.gov.pk/Analysis/DistrictWise, retrieved 2026-11-29. Reused under
the PBS Pakistan Official Statistics & Data Dissemination Policy
(https://www.pbs.gov.pk/data-dissemination/), Tier 1 open aggregate statistics, open
government licence permitting reuse with attribution. Modified by pakdata: district names
title-cased; percentages, ratios and densities computed from the published counts.

Citation and attribution

Pakistan Bureau of Statistics (PBS), 7th Population and Housing Census 2023 ('The Digital Census'), district-level results, https://www.pbs.gov.pk/census/ and https://census23.pbos.gov.pk/Analysis/DistrictWise, retrieved 2026-11-29. Reused under the PBS Pakistan Official Statistics & Data Dissemination Policy (https://www.pbs.gov.pk/data-dissemination/): Tier 1 open aggregate statistics carry a standard open government licence permitting copying, adaptation and commercial/non-commercial reuse with attribution. Modified by pakdata: district names title-cased, percentages, ratios and densities computed from the published counts.

Packaged by pakdata (https://github.com/junaidaslam2006/pakData). Build script: scripts/build_pak_census_districts.py.

Downloads last month
-

Collection including junaid008/pak_census_districts