File size: 9,897 Bytes
371ca7d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | ---
license: other
language:
- en
task_categories:
- tabular-classification
- tabular-regression
multilinguality: monolingual
size_categories:
- n<1K
tags:
- tabular
- xls
- africa
- tanzania
- official-statistics
- open-data
- energy
- tourism
- health
- population
- economics
pretty_name: "National Bureau of Statistics | Africa (Tanzania official open data)"
---
# National Bureau of Statistics | Africa (Tanzania official open data)
228 rows - 1 Africa country - 2026 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)





## TL;DR
This dataset packages one official `XLS` resource from **Tanzania** as
ML-ready Parquet. The source file is the provenance boundary; all usable
indicators or tabular columns from the resource stay together in this repo.
## About the source
- **Source:** [National Bureau of Statistics](https://www.nbs.go.tz/statistics/topic/consumer-price-index-2026)
- **Publisher:** National Bureau of Statistics, Tanzania
- **Resource:** [CPI Summary_062026](https://www.nbs.go.tz/uploads/statistics/documents/en-1783516058-CPI Summary_062026.xls)
- **Format:** `XLS`
- **License:** [Other open license]()
- **Packaging mode:** `tabular_resource`
## Geographic coverage
1 Africa country:
| Country | Rows | First year | Last year | Name |
|---------|-----:|-----------:|----------:|------|
| `TZA` | 228 | 2026 | 2026 | `Tanzania` |
## Indicators or Resource Contents
- This source file is packaged as a normalized tabular resource.
## Schema
| Column | Type | Description | Example |
|--------|------|-------------|---------|
| `source_record_id` | `string` | Stable row identifier for tabular resources. | `nbs-stat-0e1a91381d4be4:2021-rebased-series:0` |
| `country_iso3` | `string` | ISO3 country code. | `TZA` |
| `country_name` | `string` | Country name. | `Tanzania` |
| `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `2021_REBASED SERIES` |
| `year` | `Int64` | Observation year. | `2026` |
| `s_n` | `float64` | Source column. | `` |
| `major_groups` | `string` | Source column. | `INFLATION RATE` |
| `weights` | `float64` | Source column. | `` |
| `2020` | `float64` | Source column. | `3.152626042808304` |
| `2021` | `float64` | Source column. | `3.53198016721652` |
| `2021_2` | `float64` | Source column. | `3.3031044127693754` |
| `2021_3` | `float64` | Source column. | `3.165375564514017` |
| `2021_4` | `float64` | Source column. | `3.298870081794547` |
| `2021_5` | `float64` | Source column. | `3.3499512825533984` |
| `2021_6` | `float64` | Source column. | `3.593649781468655` |
| `2021_7` | `float64` | Source column. | `3.81279749262049` |
| `2021_8` | `float64` | Source column. | `3.844651799633492` |
| `2021_9` | `float64` | Source column. | `4.041785760507133` |
| `2021_10` | `float64` | Source column. | `4.036276598347599` |
| `2021_11` | `float64` | Source column. | `4.147773148102929` |
| `2021_12` | `float64` | Source column. | `4.16580602586567` |
| `annual_average` | `float64` | Source column. | `3.69101833278056` |
| `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2026` |
| `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2026` |
| `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `2026` |
| `source_provider` | `string` | Publishing organization. | `National Bureau of Statistics, Tanzania` |
| `source_dataset` | `string` | Source package title. | `National Bureau of Statistics` |
| `source_resource` | `string` | Source resource title. | `CPI Summary_062026` |
| `source_package_id` | `string` | CKAN package UUID. | `consumer-price-index-2026` |
| `source_resource_id` | `string` | CKAN resource UUID. | `nbs-stat-0e1a91381d4be4` |
| `source_url` | `string` | Original source resource URL. | `https://www.nbs.go.tz/uploads/statistics/documents/en-1783516058-CPI Sum` |
| `license_id` | `string` | Source license identifier. | `other-open` |
| `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-21T20:19:26Z` |
| `2022` | `float64` | Source column. | `` |
| `2022_2` | `float64` | Source column. | `` |
| `2022_3` | `float64` | Source column. | `` |
| `2022_4` | `float64` | Source column. | `` |
| `2022_5` | `float64` | Source column. | `` |
| `2022_6` | `float64` | Source column. | `` |
| `2022_7` | `float64` | Source column. | `` |
| `2022_8` | `float64` | Source column. | `` |
| `2022_9` | `float64` | Source column. | `` |
| `2022_10` | `float64` | Source column. | `` |
| `2022_11` | `float64` | Source column. | `` |
| `2022_12` | `float64` | Source column. | `` |
| `column_1` | `float64` | Source column. | `` |
| `all_items_index` | `string` | Source column. | `` |
| `d_100` | `float64` | Source column. | `` |
| `d_110_0059862738567` | `float64` | Source column. | `` |
| `d_110_80899424867764` | `float64` | Source column. | `` |
| `d_111_27521612969062` | `float64` | Source column. | `` |
| `d_112_12587857167243` | `float64` | Source column. | `` |
| `d_112_53743610116287` | `float64` | Source column. | `` |
| `d_112_71994947208118` | `float64` | Source column. | `` |
| `d_112_81282628360859` | `float64` | Source column. | `` |
| `d_112_66898915675567` | `float64` | Source column. | `` |
| `d_112_25247068064428` | `float64` | Source column. | `` |
| `d_112_34798815996687` | `float64` | Source column. | `` |
| `d_112_17587809184703` | `float64` | Source column. | `` |
| `d_112_6726354975784` | `float64` | Source column. | `` |
| `d_113_34071255940322` | `float64` | Source column. | `` |
| `d_112_31158124609073` | `float64` | Source column. | `` |
| `d_114_08885146405525` | `float64` | Source column. | `` |
| `d_114_64544526255436` | `float64` | Source column. | `` |
| `d_115_50831378071997` | `float64` | Source column. | `` |
| `d_116_05590593040294` | `float64` | Source column. | `` |
| `d_116_182187582218` | `float64` | Source column. | `` |
| `d_116_30096856903239` | `float64` | Source column. | `` |
| `d_116_04201504331722` | `float64` | Source column. | `` |
| `d_115_78449779649706` | `float64` | Source column. | `` |
| `d_115_87958312335394` | `float64` | Source column. | `` |
| `d_115_54083703430358` | `float64` | Source column. | `` |
| `d_116_0494133608614` | `float64` | Source column. | `` |
| `d_116_86536106361109` | `float64` | Source column. | `` |
| `d_115_74528166757726` | `float64` | Source column. | `` |
| `2024` | `float64` | Source column. | `` |
| `2025` | `float64` | Source column. | `` |
| `2025_2` | `float64` | Source column. | `` |
| `2025_3` | `float64` | Source column. | `` |
| `2025_4` | `float64` | Source column. | `` |
| `2025_5` | `float64` | Source column. | `` |
| `2025_6` | `float64` | Source column. | `` |
| `2025_7` | `float64` | Source column. | `` |
| `2025_8` | `float64` | Source column. | `` |
| `2025_9` | `float64` | Source column. | `` |
| `2025_10` | `float64` | Source column. | `` |
| `2025_11` | `float64` | Source column. | `` |
| `2025_12` | `float64` | Source column. | `` |
| `2026` | `float64` | Source column. | `` |
| `2026_2` | `float64` | Source column. | `` |
| `2026_3` | `float64` | Source column. | `` |
| `2026_4` | `float64` | Source column. | `` |
| `2026_5` | `float64` | Source column. | `` |
| `2026_6` | `float64` | Source column. | `` |
| `2026_7` | `string` | Source column. | `` |
| `2026_8` | `string` | Source column. | `` |
| `2026_9` | `string` | Source column. | `` |
| `2026_10` | `string` | Source column. | `` |
| `2026_11` | `string` | Source column. | `` |
| `2026_12` | `string` | Source column. | `` |
## Usage
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-tanzania-national-bureau-of-statistics-8c81d3e0")
df = ds["train"].to_pandas()
print(df.head())
```
### Filter to one country
```python
sample_country = df[df["country_iso3"] == "TZA"]
```
### Work with indicators
```python
if "indicator_id" in df.columns:
print(df["indicator_id"].value_counts().head())
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
```
## Citation
```bibtex
@misc{electric_sheep_africa_africa_tanzania_national_bureau_of_statistics_8c81d3e0_2026,
title = {National Bureau of Statistics | Africa (Tanzania official open data)},
author = {National Bureau of Statistics, Tanzania},
year = {2026},
url = {https://www.nbs.go.tz/statistics/topic/consumer-price-index-2026},
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-tanzania-national-bureau-of-statistics-8c81d3e0}}
}
```
## License
Released under [Other open license]().
Original data (c) National Bureau of Statistics, Tanzania. When using this dataset, please cite both the
original source above and the Electric Sheep Africa repackaging.
## About Electric Sheep
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
open sources, normalize the schemas, package as Parquet, and publish with
consistent dataset cards so researchers and developers can use `load_dataset()`
to start working in seconds.
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
---
Provenance: ingested 2026-07-21 via the Electric Sheep pipeline. Source URL:
https://www.nbs.go.tz/uploads/statistics/documents/en-1783516058-CPI Summary_062026.xls
|