license: other
language:
- en
task_categories:
- tabular-regression
- time-series-forecasting
multilinguality: monolingual
size_categories:
- 1K<n<10K
tags:
- tabular
- xlsx
- africa
- tanzania
- official-statistics
- open-data
pretty_name: National Bureau of Statistics | Africa (Tanzania official open data)
National Bureau of Statistics | Africa (Tanzania official open data)
1,774 rows - 1 Africa country - 2014-2025 - Repackaged by Electric Sheep Africa
TL;DR
This dataset packages one official XLSX 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
- Publisher: National Bureau of Statistics, Tanzania
- Resource: [The Fourth Quarter GDP 2025 (Excel)](https://www.nbs.go.tz/uploads/statistics/documents/en-1784021208-Excel Q4_2025_Eng.xlsx)
- Format:
XLSX - License: Other open license
- Packaging mode:
indicator_long
Geographic coverage
1 Africa country:
| Country | Rows | First year | Last year | Name |
|---|---|---|---|---|
TZA |
1,774 | 2014 | 2025 | Tanzania |
Indicators or Resource Contents
national-bureau-of-statistics-quarter-e02f7784- National Bureau of Statistics - quarternational-bureau-of-statistics-agriculture-37bc69f3- National Bureau of Statistics - agriculturenational-bureau-of-statistics-mining-and-quarrying-7be55d60- National Bureau of Statistics - mining and quarryingnational-bureau-of-statistics-manufacturing-acceeb2c- National Bureau of Statistics - manufacturingnational-bureau-of-statistics-electricity-363944e1- National Bureau of Statistics - electricitynational-bureau-of-statistics-water-82316510- National Bureau of Statistics - waternational-bureau-of-statistics-construction-906dd05d- National Bureau of Statistics - constructionnational-bureau-of-statistics-trade-and-repair-978013d5- National Bureau of Statistics - trade and repairnational-bureau-of-statistics-accommodation-restaurant-6846181f- National Bureau of Statistics - accommodation restaurantnational-bureau-of-statistics-transport-and-storage-8578d7b2- National Bureau of Statistics - transport and storagenational-bureau-of-statistics-information-and-communication-0639967e- National Bureau of Statistics - information and communicationnational-bureau-of-statistics-financial-insurance-a117c58e- National Bureau of Statistics - financial insurancenational-bureau-of-statistics-qublic-administration-38f4d596- National Bureau of Statistics - qublic administrationnational-bureau-of-statistics-qrofessional-scientific-technical-act-f5b3a07d- National Bureau of Statistics - qrofessional scientific technical actnational-bureau-of-statistics-administrative-support-services-8f4493dc- National Bureau of Statistics - administrative support servicesnational-bureau-of-statistics-real-estate-010f2f6f- National Bureau of Statistics - real estatenational-bureau-of-statistics-education-3c1af329- National Bureau of Statistics - educationnational-bureau-of-statistics-health-5fb67caf- National Bureau of Statistics - healthnational-bureau-of-statistics-arts-entertainmen-recreation-498ca083- National Bureau of Statistics - arts entertainmen recreationnational-bureau-of-statistics-other-services-074f453c- National Bureau of Statistics - other services
Schema
| Column | Type | Description | Example |
|---|---|---|---|
indicator_id |
string |
Stable indicator identifier. | national-bureau-of-statistics-quarter-e02f7784 |
indicator_name |
string |
Human-readable indicator name. | National Bureau of Statistics - quarter |
country_iso3 |
string |
ISO3 country code. | TZA |
source_sheet |
string |
Workbook sheet name, when the source is a spreadsheet. | TABLES 1-4 |
country_name |
string |
Country name. | Tanzania |
year |
Int64 |
Observation year. | 2014 |
value |
float64 |
Numeric observation value. | 1.0 |
unit |
string |
Measurement unit, when available. | source_units_unspecified |
source_period_start_year |
Int64 |
First year inferred from source resource metadata. | 2025 |
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. | 2025-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. | The Fourth Quarter GDP 2025 (Excel) |
source_package_id |
string |
CKAN package UUID. | gross-domestic-product-gdp |
source_resource_id |
string |
CKAN resource UUID. | nbs-stat-d54b8cbc0f3570 |
source_url |
string |
Original source resource URL. | https://www.nbs.go.tz/uploads/statistics/documents/en-1784021208-Excel Q |
license_id |
string |
Source license identifier. | other-open |
retrieved_at |
string |
UTC retrieval timestamp. | 2026-07-21T20:19:26Z |
Usage
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-tanzania-national-bureau-of-statistics-95e551fd")
df = ds["train"].to_pandas()
print(df.head())
Filter to one country
sample_country = df[df["country_iso3"] == "TZA"]
Work with indicators
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
@misc{electric_sheep_africa_africa_tanzania_national_bureau_of_statistics_95e551fd_2025,
title = {National Bureau of Statistics | Africa (Tanzania official open data)},
author = {National Bureau of Statistics, Tanzania},
year = {2025},
url = {https://www.nbs.go.tz/statistics/topic/gross-domestic-product-gdp},
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-tanzania-national-bureau-of-statistics-95e551fd}}
}
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
Provenance: ingested 2026-07-21 via the Electric Sheep pipeline. Source URL: https://www.nbs.go.tz/uploads/statistics/documents/en-1784021208-Excel Q4_2025_Eng.xlsx