| --- |
| 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 |
| |