Standardize Electric Sheep Africa dataset card
Browse files
README.md
CHANGED
|
@@ -5,242 +5,268 @@ language:
|
|
| 5 |
task_categories:
|
| 6 |
- tabular-classification
|
| 7 |
- tabular-regression
|
| 8 |
-
multilinguality:
|
| 9 |
size_categories:
|
| 10 |
- n<1K
|
| 11 |
tags:
|
| 12 |
-
- tabular
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
-
|
| 17 |
-
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
-
# National Bureau of Statistics | Africa (
|
| 22 |
|
| 23 |
-
173 rows - 1 Africa country - 2007 -
|
| 24 |
|
| 25 |

|
| 26 |

|
| 27 |
-

|
| 29 |

|
| 30 |
|
| 31 |
## TL;DR
|
| 32 |
|
| 33 |
-
This dataset
|
| 34 |
-
ML-ready Parquet. The source file is the provenance boundary; all usable
|
| 35 |
-
indicators or tabular columns from the resource stay together in this repo.
|
| 36 |
|
| 37 |
-
##
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
-
## Geographic
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
|
|
| 51 |
-
|------
|
| 52 |
| `TZA` | 173 | 2007 | 2007 | `Tanzania` |
|
| 53 |
|
| 54 |
-
## Indicators
|
| 55 |
|
| 56 |
-
- This source
|
| 57 |
|
| 58 |
## Schema
|
| 59 |
|
| 60 |
| Column | Type | Description | Example |
|
| 61 |
|--------|------|-------------|---------|
|
| 62 |
-
| `source_record_id` | `string` | Stable row identifier
|
| 63 |
-
| `country_iso3` | `string` | ISO3 country code. | `TZA` |
|
| 64 |
-
| `country_name` | `string` | Country name. | `Tanzania` |
|
| 65 |
-
| `source_sheet` | `string` |
|
| 66 |
-
| `year` | `
|
| 67 |
-
| `manuf_med_precis_optical_instr` | `string` | Source column. | `Manuf. motor veh., trailers` |
|
| 68 |
-
| `d_3_9030563426231916e_05` | `
|
| 69 |
-
| `d_1_1762590723944898e_05` | `
|
| 70 |
-
| `d_9_917763351910684e_06` | `
|
| 71 |
-
| `d_0` | `
|
| 72 |
-
| `d_6_149646196065759e_05` | `
|
| 73 |
-
| `d_0_2` | `
|
| 74 |
-
| `d_5_672936404409789e_05` | `
|
| 75 |
-
| `d_5_428803605855349e_05` | `
|
| 76 |
-
| `d_1_4013075082086542e_07` | `
|
| 77 |
-
| `d_1_267066297473818e_06` | `
|
| 78 |
-
| `d_1_4145248232793721e_06` | `
|
| 79 |
-
| `d_3_730669718730121e_05` | `
|
| 80 |
-
| `d_5_30956503391405e_06` | `
|
| 81 |
-
| `d_1_4264754320898615e_05` | `
|
| 82 |
-
| `d_5_247166079492631e_06` | `
|
| 83 |
-
| `d_1_1935454663205038e_05` | `
|
| 84 |
-
| `d_0_3` | `
|
| 85 |
-
| `d_5_113771036448806e_06` | `
|
| 86 |
-
| `d_7_729204871541341e_05` | `
|
| 87 |
-
| `d_0_00014328480907276902` | `
|
| 88 |
-
| `d_0_0001937868407989384` | `
|
| 89 |
-
| `d_0_00011938325625440519` | `
|
| 90 |
-
| `d_0_00017737077170804983` | `
|
| 91 |
-
| `d_0_4` | `
|
| 92 |
-
| `d_2_8915966237671612e_06` | `
|
| 93 |
-
| `d_0_5` | `
|
| 94 |
-
| `d_7_788864363481467e_05` | `
|
| 95 |
-
| `d_0_0156027887104996` | `
|
| 96 |
-
| `d_0_07117647992711655` | `
|
| 97 |
-
| `d_6_465346399119392e_05` | `
|
| 98 |
-
| `d_0_6` | `
|
| 99 |
-
| `d_5_932534224917581e_08` | `
|
| 100 |
-
| `d_0_7` | `
|
| 101 |
-
| `d_9_665895112926175e_06` | `
|
| 102 |
-
| `d_0_02603049439169864` | `
|
| 103 |
-
| `d_1_7263474741146262e_06` | `
|
| 104 |
-
| `d_2_0570678745447234e_06` | `
|
| 105 |
-
| `d_2_3389611483922775e_06` | `
|
| 106 |
-
| `d_0_8` | `
|
| 107 |
-
| `d_1_3882853587227176e_08` | `
|
| 108 |
-
| `d_2_0905170040045045e_07` | `
|
| 109 |
-
| `d_4_249615720391989e_05` | `
|
| 110 |
-
| `d_5_629876206191048e_05` | `
|
| 111 |
-
| `d_2_5639006631063862e_05` | `
|
| 112 |
-
| `d_0_9` | `
|
| 113 |
-
| `d_2_022343814426782e_06` | `
|
| 114 |
-
| `d_7_526657718238893e_07` | `
|
| 115 |
-
| `d_0_10` | `
|
| 116 |
-
| `d_1_6596124374241002e_06` | `
|
| 117 |
-
| `d_2_3673179299811748e_05` | `
|
| 118 |
-
| `d_1_0898869730083932e_05` | `
|
| 119 |
-
| `d_2_2532708003848156e_05` | `
|
| 120 |
-
| `d_5_74604586998924e_06` | `
|
| 121 |
-
| `d_3_0044172709841832e_05` | `
|
| 122 |
-
| `d_5_522044346186881e_06` | `
|
| 123 |
-
| `d_9_41560623384806e_06` | `
|
| 124 |
-
| `d_2_474628513069913e_06` | `
|
| 125 |
-
| `d_1_795630461009316e_05` | `
|
| 126 |
-
| `d_0_11` | `
|
| 127 |
-
| `d_0_11425474100861589` | `
|
| 128 |
-
| `d_0_8857452589913841` | `
|
| 129 |
-
| `d_1` | `
|
| 130 |
-
| `source_period_start_year` | `
|
| 131 |
-
| `source_period_end_year` | `
|
| 132 |
-
| `source_period_label` | `string` |
|
| 133 |
| `source_provider` | `string` | Publishing organization. | `National Bureau of Statistics, Tanzania` |
|
| 134 |
-
| `source_dataset` | `string` | Source package title. | `National Bureau of Statistics` |
|
| 135 |
-
| `source_resource` | `string` | Source resource title. | `Tanzania Mainland Industry to Industry IOT_2007.zip` |
|
| 136 |
-
| `source_package_id` | `string` |
|
| 137 |
-
| `source_resource_id` | `string` |
|
| 138 |
-
| `source_url` | `string` | Original source
|
| 139 |
| `license_id` | `string` | Source license identifier. | `other-open` |
|
| 140 |
-
| `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-21T20:05:22Z` |
|
| 141 |
-
| `d_0_12` | `
|
| 142 |
-
| `d_0_13` | `
|
| 143 |
-
| `d_0_14` | `
|
| 144 |
-
| `d_0_15` | `
|
| 145 |
-
| `d_0_16` | `
|
| 146 |
-
| `d_0_17` | `
|
| 147 |
-
| `d_0_18` | `
|
| 148 |
-
| `d_0_19` | `
|
| 149 |
-
| `d_0_20` | `
|
| 150 |
-
| `d_0_21` | `
|
| 151 |
-
| `d_0_22` | `
|
| 152 |
-
| `d_0_23` | `
|
| 153 |
-
| `d_0_24` | `
|
| 154 |
-
| `d_0_25` | `
|
| 155 |
-
| `d_0_26` | `
|
| 156 |
-
| `d_0_27` | `
|
| 157 |
-
| `d_0_28` | `
|
| 158 |
-
| `d_0_29` | `
|
| 159 |
-
| `d_0_30` | `
|
| 160 |
-
| `d_0_31` | `
|
| 161 |
-
| `d_0_32` | `
|
| 162 |
-
| `d_0_33` | `
|
| 163 |
-
| `d_0_34` | `
|
| 164 |
-
| `d_0_35` | `
|
| 165 |
-
| `d_0_36` | `
|
| 166 |
-
| `d_0_37` | `
|
| 167 |
-
| `d_0_38` | `
|
| 168 |
-
| `d_0_39` | `
|
| 169 |
-
| `d_0_40` | `
|
| 170 |
-
| `d_0_41` | `
|
| 171 |
-
| `d_0_42` | `
|
| 172 |
-
| `d_0_43` | `
|
| 173 |
-
| `d_0_44` | `
|
| 174 |
-
| `d_0_45` | `
|
| 175 |
-
| `d_0_46` | `
|
| 176 |
-
| `d_0_47` | `
|
| 177 |
-
| `d_0_48` | `
|
| 178 |
-
| `d_0_49` | `
|
| 179 |
-
| `d_0_50` | `
|
| 180 |
-
| `d_0_51` | `
|
| 181 |
-
| `d_0_52` | `
|
| 182 |
-
| `d_0_53` | `
|
| 183 |
-
| `d_0_54` | `
|
| 184 |
-
| `d_0_55` | `
|
| 185 |
-
| `d_0_56` | `
|
| 186 |
-
| `d_0_57` | `
|
| 187 |
-
| `d_0_58` | `
|
| 188 |
-
| `d_0_9843972112895004` | `
|
| 189 |
-
| `d_1_2193864821783055e_06` | `
|
| 190 |
-
| `d_4_4050724989448494e_07` | `
|
| 191 |
-
| `d_6_071444656460358e_07` | `
|
| 192 |
-
| `d_3_1904459049806337e_07` | `
|
| 193 |
-
| `d_4_1848852198341416e_07` | `
|
| 194 |
-
| `d_1_8838108937042392e_06` | `
|
| 195 |
-
| `d_0_00015770354113923895` | `
|
| 196 |
-
| `d_6_162226951793777e_07` | `
|
| 197 |
-
| `d_1_036547719455761` | `
|
| 198 |
-
| `d_1_646338676673855e_06` | `
|
| 199 |
-
| `d_1_3237424931576724e_05` | `
|
| 200 |
-
| `d_8_590544786352311e_07` | `
|
| 201 |
-
| `d_2_3401806662537e_06` | `
|
| 202 |
-
| `d_2_2976747543133367e_05` | `
|
| 203 |
-
| `d_3_399576619767668e_05` | `
|
| 204 |
-
| `d_1_075632999678186e_07` | `
|
| 205 |
-
| `d_7_16492416968299e_06` | `
|
| 206 |
-
| `d_4_041485406121981e_06` | `
|
| 207 |
-
| `d_9_783537482251254e_06` | `
|
| 208 |
-
| `d_6_692290505993193e_07` | `
|
| 209 |
-
| `d_3_204446058053275e_06` | `
|
| 210 |
-
| `d_8_038386490291102e_06` | `
|
| 211 |
-
| `d_9_513308418584505e_07` | `
|
| 212 |
-
| `d_4_966563495224125e_07` | `
|
| 213 |
-
| `d_1_3832824195035319e_06` | `
|
| 214 |
-
| `d_7_694906959503761e_07` | `
|
| 215 |
-
| `d_1_722528607392538e_06` | `
|
| 216 |
-
| `d_2_0300397351246694e_07` | `
|
| 217 |
-
| `d_1_6590459534075118e_06` | `
|
| 218 |
-
| `d_5_208265636721122e_07` | `
|
| 219 |
-
| `d_6_619546388933422e_06` | `
|
| 220 |
-
| `d_3_612782188860894e_07` | `
|
| 221 |
-
| `d_5_713336316575642e_06` | `
|
| 222 |
-
| `d_3_590423518250038e_07` | `
|
| 223 |
-
| `d_9_599700169832153e_07` | `
|
| 224 |
-
| `d_3_781458864370873e_07` | `
|
| 225 |
-
| `d_1_7691444185007388e_07` | `
|
| 226 |
-
| `d_1_9786423887367623e_07` | `
|
| 227 |
-
| `d_7_464151754451516e_07` | `
|
| 228 |
-
| `d_1_944798159529323e_06` | `
|
| 229 |
-
| `d_1_1435010268578954e_06` | `
|
| 230 |
-
| `d_1_1460230385584588e_06` | `
|
| 231 |
-
| `d_1_2009469127109973e_06` | `
|
| 232 |
-
| `d_8_044220479302946e_07` | `
|
| 233 |
-
| `d_1_1289963570995585e_06` | `
|
| 234 |
-
| `d_1_7575944003183138e_06` | `
|
| 235 |
-
| `d_0_00013929960284411996` | `
|
| 236 |
-
| `d_1_8588739182767699e_06` | `
|
| 237 |
-
| `d_5_433134192595967e_06` | `
|
| 238 |
-
| `d_3_387962888738779e_06` | `
|
| 239 |
-
| `d_8_184048138715586e_05` | `
|
| 240 |
-
| `d_2_884421889184382e_07` | `
|
| 241 |
-
| `d_4_334306763837058e_06` | `
|
| 242 |
-
| `d_1_1095235327400432e_05` | `
|
| 243 |
-
| `d_1_3384115955402431e_06` | `
|
| 244 |
|
| 245 |
## Usage
|
| 246 |
|
|
@@ -252,51 +278,93 @@ df = ds["train"].to_pandas()
|
|
| 252 |
print(df.head())
|
| 253 |
```
|
| 254 |
|
| 255 |
-
###
|
| 256 |
|
| 257 |
```python
|
| 258 |
-
|
|
|
|
| 259 |
```
|
| 260 |
|
| 261 |
-
###
|
| 262 |
|
| 263 |
```python
|
| 264 |
-
if "
|
| 265 |
-
|
| 266 |
-
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 267 |
```
|
| 268 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
## Citation
|
| 270 |
|
| 271 |
```bibtex
|
| 272 |
@misc{electric_sheep_africa_africa_tanzania_national_bureau_of_statistics_55aef179_2007,
|
| 273 |
-
title = {National Bureau of Statistics | Africa (
|
| 274 |
author = {National Bureau of Statistics, Tanzania},
|
| 275 |
year = {2007},
|
| 276 |
url = {https://www.nbs.go.tz/statistics/topic/input-and-output-tables},
|
| 277 |
-
publisher = {
|
| 278 |
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-tanzania-national-bureau-of-statistics-55aef179}}
|
| 279 |
}
|
| 280 |
```
|
| 281 |
|
| 282 |
## License
|
| 283 |
|
| 284 |
-
Released under
|
| 285 |
-
|
| 286 |
-
Original data (c) National Bureau of Statistics, Tanzania. When using this dataset, please cite both the
|
| 287 |
-
original source above and the Electric Sheep Africa repackaging.
|
| 288 |
|
| 289 |
-
|
|
|
|
|
|
|
| 290 |
|
| 291 |
-
|
| 292 |
-
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 293 |
-
open sources, normalize the schemas, package as Parquet, and publish with
|
| 294 |
-
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 295 |
-
to start working in seconds.
|
| 296 |
|
| 297 |
-
|
| 298 |
|
| 299 |
---
|
| 300 |
|
| 301 |
-
Provenance:
|
| 302 |
-
https://www.nbs.go.tz/uploads/statistics/documents/en-1705429386-Tanzania_Mainland_Industry_to_Industry_IOT_2007.zip
|
|
|
|
| 5 |
task_categories:
|
| 6 |
- tabular-classification
|
| 7 |
- tabular-regression
|
| 8 |
+
multilinguality: multilingual
|
| 9 |
size_categories:
|
| 10 |
- n<1K
|
| 11 |
tags:
|
| 12 |
+
- "tabular"
|
| 13 |
+
- "africa"
|
| 14 |
+
- "open-data"
|
| 15 |
+
- "official-statistics"
|
| 16 |
+
- "tanzania"
|
| 17 |
+
- "national-bureau-of-statistics-tanzania"
|
| 18 |
+
- "national-accounts-statistics"
|
| 19 |
+
- "national-bureau-of-statistics"
|
| 20 |
+
- "2007-01-16"
|
| 21 |
+
- "nbs"
|
| 22 |
+
- "public-download"
|
| 23 |
+
- "zip"
|
| 24 |
+
configs:
|
| 25 |
+
- config_name: default
|
| 26 |
+
data_files:
|
| 27 |
+
- split: train
|
| 28 |
+
path: data/train-00000-of-00001.parquet
|
| 29 |
+
pretty_name: "National Bureau of Statistics | Africa (National Bureau of Statistics, Tanzania)"
|
| 30 |
---
|
| 31 |
|
| 32 |
+
# National Bureau of Statistics | Africa (National Bureau of Statistics, Tanzania)
|
| 33 |
|
| 34 |
+
**173 rows** - **1 Africa country/area** - **2007** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
|
| 35 |
|
| 36 |

|
| 37 |

|
| 38 |
+

|
| 39 |

|
| 40 |

|
| 41 |
|
| 42 |
## TL;DR
|
| 43 |
|
| 44 |
+
This dataset contains **173 rows** from **National Bureau of Statistics, Tanzania**, covering **National Bureau of Statistics**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
## What This Dataset Measures
|
| 47 |
|
| 48 |
+
Official statistics datasets help analysts inspect public data as published by governments, national statistical systems, and regional data portals.
|
| 49 |
+
|
| 50 |
+
Source-provided context: 16 January, 2007 Tanzania Mainland Industry to Industry IOT_2007.zip
|
| 51 |
+
|
| 52 |
+
## How To Read This Dataset
|
| 53 |
+
|
| 54 |
+
- **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
|
| 55 |
+
- **Primary geography column:** `country_iso3`.
|
| 56 |
+
- **Best time column:** `year`.
|
| 57 |
+
- **Time coverage basis:** year.
|
| 58 |
+
- **Recommended join keys:** `country_iso3` where available plus source-specific keys.
|
| 59 |
+
|
| 60 |
+
## Coverage
|
| 61 |
+
|
| 62 |
+
| Dimension | Value |
|
| 63 |
+
|---|---:|
|
| 64 |
+
| Rows | 173 |
|
| 65 |
+
| Countries/areas | 1 |
|
| 66 |
+
| First period | 2007 |
|
| 67 |
+
| Last period | 2007 |
|
| 68 |
+
| Indicators | 0 |
|
| 69 |
+
| Columns | 182 |
|
| 70 |
+
| Source format | ZIP |
|
| 71 |
|
| 72 |
+
## Geographic Coverage
|
| 73 |
|
| 74 |
+
Top areas shown below, sorted by row count when available:
|
| 75 |
|
| 76 |
+
| Area | Rows | First year | Last year | Name |
|
| 77 |
+
|------|-----:|-----------:|----------:|------|
|
| 78 |
| `TZA` | 173 | 2007 | 2007 | `Tanzania` |
|
| 79 |
|
| 80 |
+
## Indicators, Variables, Or Resource Contents
|
| 81 |
|
| 82 |
+
- This repo preserves one source tabular resource with its usable columns kept together.
|
| 83 |
|
| 84 |
## Schema
|
| 85 |
|
| 86 |
| Column | Type | Description | Example |
|
| 87 |
|--------|------|-------------|---------|
|
| 88 |
+
| `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `nbs-stat-aab125e0f7bf28:tanzania-mainland-industry-to-in:0` |
|
| 89 |
+
| `country_iso3` | `string` | ISO3 country or area code. | `TZA` |
|
| 90 |
+
| `country_name` | `string` | Country or area name. | `Tanzania` |
|
| 91 |
+
| `source_sheet` | `string` | Source column from the original resource. | `Tanzania_Mainland_Industry_to_Industry_IOT_2007.xlsx::A` |
|
| 92 |
+
| `year` | `int64` | Observation year. | `2007` |
|
| 93 |
+
| `manuf_med_precis_optical_instr` | `string` | Source column from the original resource. | `Manuf. motor veh., trailers` |
|
| 94 |
+
| `d_3_9030563426231916e_05` | `double` | Source column from the original resource. | `0.0002332283222927` |
|
| 95 |
+
| `d_1_1762590723944898e_05` | `double` | Source column from the original resource. | `0.000651328493059` |
|
| 96 |
+
| `d_9_917763351910684e_06` | `double` | Source column from the original resource. | `0.0007069913206025` |
|
| 97 |
+
| `d_0` | `double` | Source column from the original resource. | `0.0003976923289471` |
|
| 98 |
+
| `d_6_149646196065759e_05` | `double` | Source column from the original resource. | `6.54644462896937e-05` |
|
| 99 |
+
| `d_0_2` | `double` | Source column from the original resource. | `0.0` |
|
| 100 |
+
| `d_5_672936404409789e_05` | `double` | Source column from the original resource. | `0.0002244215515657` |
|
| 101 |
+
| `d_5_428803605855349e_05` | `double` | Source column from the original resource. | `6.837280407258692e-05` |
|
| 102 |
+
| `d_1_4013075082086542e_07` | `double` | Source column from the original resource. | `8.273730265097625e-06` |
|
| 103 |
+
| `d_1_267066297473818e_06` | `double` | Source column from the original resource. | `0.0001101003254248` |
|
| 104 |
+
| `d_1_4145248232793721e_06` | `double` | Source column from the original resource. | `0.0001476657955018` |
|
| 105 |
+
| `d_3_730669718730121e_05` | `double` | Source column from the original resource. | `0.0001092141654219` |
|
| 106 |
+
| `d_5_30956503391405e_06` | `double` | Source column from the original resource. | `0.0001773935676556` |
|
| 107 |
+
| `d_1_4264754320898615e_05` | `double` | Source column from the original resource. | `0.0003150677562732` |
|
| 108 |
+
| `d_5_247166079492631e_06` | `double` | Source column from the original resource. | `0.0001452189277685` |
|
| 109 |
+
| `d_1_1935454663205038e_05` | `double` | Source column from the original resource. | `0.0001000334031168` |
|
| 110 |
+
| `d_0_3` | `double` | Source column from the original resource. | `0.0` |
|
| 111 |
+
| `d_5_113771036448806e_06` | `double` | Source column from the original resource. | `4.6178353936506186e-05` |
|
| 112 |
+
| `d_7_729204871541341e_05` | `double` | Source column from the original resource. | `0.0002160395359998` |
|
| 113 |
+
| `d_0_00014328480907276902` | `double` | Source column from the original resource. | `4.260347449319577e-05` |
|
| 114 |
+
| `d_0_0001937868407989384` | `double` | Source column from the original resource. | `8.576118087825983e-06` |
|
| 115 |
+
| `d_0_00011938325625440519` | `double` | Source column from the original resource. | `4.898632954471657e-05` |
|
| 116 |
+
| `d_0_00017737077170804983` | `double` | Source column from the original resource. | `0.0001050065878387` |
|
| 117 |
+
| `d_0_4` | `double` | Source column from the original resource. | `0.0` |
|
| 118 |
+
| `d_2_8915966237671612e_06` | `double` | Source column from the original resource. | `0.0002822343256835` |
|
| 119 |
+
| `d_0_5` | `double` | Source column from the original resource. | `0.0` |
|
| 120 |
+
| `d_7_788864363481467e_05` | `double` | Source column from the original resource. | `0.000116546321766` |
|
| 121 |
+
| `d_0_0156027887104996` | `double` | Source column from the original resource. | `0.014208416558663` |
|
| 122 |
+
| `d_0_07117647992711655` | `double` | Source column from the original resource. | `0.0101528788526705` |
|
| 123 |
+
| `d_6_465346399119392e_05` | `double` | Source column from the original resource. | `0.0002341526275528` |
|
| 124 |
+
| `d_0_6` | `double` | Source column from the original resource. | `0.0003578110754023` |
|
| 125 |
+
| `d_5_932534224917581e_08` | `double` | Source column from the original resource. | `0.0005997967210742` |
|
| 126 |
+
| `d_0_7` | `double` | Source column from the original resource. | `0.000543207132636` |
|
| 127 |
+
| `d_9_665895112926175e_06` | `double` | Source column from the original resource. | `7.277223970810172e-05` |
|
| 128 |
+
| `d_0_02603049439169864` | `double` | Source column from the original resource. | `0.0037099354556537` |
|
| 129 |
+
| `d_1_7263474741146262e_06` | `double` | Source column from the original resource. | `4.361887450237013e-05` |
|
| 130 |
+
| `d_2_0570678745447234e_06` | `double` | Source column from the original resource. | `3.562789629468207e-05` |
|
| 131 |
+
| `d_2_3389611483922775e_06` | `double` | Source column from the original resource. | `0.0002514837024133` |
|
| 132 |
+
| `d_0_8` | `double` | Source column from the original resource. | `0.0006459742513935` |
|
| 133 |
+
| `d_1_3882853587227176e_08` | `double` | Source column from the original resource. | `0.0006015629451489` |
|
| 134 |
+
| `d_2_0905170040045045e_07` | `double` | Source column from the original resource. | `0.0006399753361361` |
|
| 135 |
+
| `d_4_249615720391989e_05` | `double` | Source column from the original resource. | `0.0001421620973853` |
|
| 136 |
+
| `d_5_629876206191048e_05` | `double` | Source column from the original resource. | `0.0003899105732168` |
|
| 137 |
+
| `d_2_5639006631063862e_05` | `double` | Source column from the original resource. | `0.0001764865646672` |
|
| 138 |
+
| `d_0_9` | `double` | Source column from the original resource. | `0.0003169059274108` |
|
| 139 |
+
| `d_2_022343814426782e_06` | `double` | Source column from the original resource. | `0.0008791423769731` |
|
| 140 |
+
| `d_7_526657718238893e_07` | `double` | Source column from the original resource. | `5.5845530237983625e-05` |
|
| 141 |
+
| `d_0_10` | `double` | Source column from the original resource. | `0.0005060131578753` |
|
| 142 |
+
| `d_1_6596124374241002e_06` | `double` | Source column from the original resource. | `0.0002770063340198` |
|
| 143 |
+
| `d_2_3673179299811748e_05` | `double` | Source column from the original resource. | `0.0008375299153956` |
|
| 144 |
+
| `d_1_0898869730083932e_05` | `double` | Source column from the original resource. | `0.0001646343391913` |
|
| 145 |
+
| `d_2_2532708003848156e_05` | `double` | Source column from the original resource. | `0.0006120774509102` |
|
| 146 |
+
| `d_5_74604586998924e_06` | `double` | Source column from the original resource. | `7.259589537185678e-05` |
|
| 147 |
+
| `d_3_0044172709841832e_05` | `double` | Source column from the original resource. | `0.0001148654950411` |
|
| 148 |
+
| `d_5_522044346186881e_06` | `double` | Source column from the original resource. | `0.0002294409621529` |
|
| 149 |
+
| `d_9_41560623384806e_06` | `double` | Source column from the original resource. | `7.159550053785733e-05` |
|
| 150 |
+
| `d_2_474628513069913e_06` | `double` | Source column from the original resource. | `1.6789847760037878e-05` |
|
| 151 |
+
| `d_1_795630461009316e_05` | `double` | Source column from the original resource. | `0.0004166226022021` |
|
| 152 |
+
| `d_0_11` | `double` | Source column from the original resource. | `0.0` |
|
| 153 |
+
| `d_0_11425474100861589` | `double` | Source column from the original resource. | `0.0417034762252079` |
|
| 154 |
+
| `d_0_8857452589913841` | `double` | Source column from the original resource. | `0.958296523774792` |
|
| 155 |
+
| `d_1` | `double` | Source column from the original resource. | `1.0` |
|
| 156 |
+
| `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2007` |
|
| 157 |
+
| `source_period_end_year` | `int64` | End year inferred from source metadata. | `2007` |
|
| 158 |
+
| `source_period_label` | `string` | Source column from the original resource. | `2007` |
|
| 159 |
| `source_provider` | `string` | Publishing organization. | `National Bureau of Statistics, Tanzania` |
|
| 160 |
+
| `source_dataset` | `string` | Source dataset or package title. | `National Bureau of Statistics` |
|
| 161 |
+
| `source_resource` | `string` | Source resource title, table name, or file name. | `Tanzania Mainland Industry to Industry IOT_2007.zip` |
|
| 162 |
+
| `source_package_id` | `string` | Source package identifier. | `input-and-output-tables` |
|
| 163 |
+
| `source_resource_id` | `string` | Source resource identifier. | `nbs-stat-aab125e0f7bf28` |
|
| 164 |
+
| `source_url` | `string` | Original source URL or download URL. | `https://www.nbs.go.tz/uploads/statistics/documents/en-1705429386-Tanz...` |
|
| 165 |
| `license_id` | `string` | Source license identifier. | `other-open` |
|
| 166 |
+
| `retrieved_at` | `string` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-21T20:05:22Z` |
|
| 167 |
+
| `d_0_12` | `double` | Source column from the original resource. | `` |
|
| 168 |
+
| `d_0_13` | `double` | Source column from the original resource. | `` |
|
| 169 |
+
| `d_0_14` | `double` | Source column from the original resource. | `` |
|
| 170 |
+
| `d_0_15` | `double` | Source column from the original resource. | `` |
|
| 171 |
+
| `d_0_16` | `double` | Source column from the original resource. | `` |
|
| 172 |
+
| `d_0_17` | `double` | Source column from the original resource. | `` |
|
| 173 |
+
| `d_0_18` | `double` | Source column from the original resource. | `` |
|
| 174 |
+
| `d_0_19` | `double` | Source column from the original resource. | `` |
|
| 175 |
+
| `d_0_20` | `double` | Source column from the original resource. | `` |
|
| 176 |
+
| `d_0_21` | `double` | Source column from the original resource. | `` |
|
| 177 |
+
| `d_0_22` | `double` | Source column from the original resource. | `` |
|
| 178 |
+
| `d_0_23` | `double` | Source column from the original resource. | `` |
|
| 179 |
+
| `d_0_24` | `double` | Source column from the original resource. | `` |
|
| 180 |
+
| `d_0_25` | `double` | Source column from the original resource. | `` |
|
| 181 |
+
| `d_0_26` | `double` | Source column from the original resource. | `` |
|
| 182 |
+
| `d_0_27` | `double` | Source column from the original resource. | `` |
|
| 183 |
+
| `d_0_28` | `double` | Source column from the original resource. | `` |
|
| 184 |
+
| `d_0_29` | `double` | Source column from the original resource. | `` |
|
| 185 |
+
| `d_0_30` | `double` | Source column from the original resource. | `` |
|
| 186 |
+
| `d_0_31` | `double` | Source column from the original resource. | `` |
|
| 187 |
+
| `d_0_32` | `double` | Source column from the original resource. | `` |
|
| 188 |
+
| `d_0_33` | `double` | Source column from the original resource. | `` |
|
| 189 |
+
| `d_0_34` | `double` | Source column from the original resource. | `` |
|
| 190 |
+
| `d_0_35` | `double` | Source column from the original resource. | `` |
|
| 191 |
+
| `d_0_36` | `double` | Source column from the original resource. | `` |
|
| 192 |
+
| `d_0_37` | `double` | Source column from the original resource. | `` |
|
| 193 |
+
| `d_0_38` | `double` | Source column from the original resource. | `` |
|
| 194 |
+
| `d_0_39` | `double` | Source column from the original resource. | `` |
|
| 195 |
+
| `d_0_40` | `double` | Source column from the original resource. | `` |
|
| 196 |
+
| `d_0_41` | `double` | Source column from the original resource. | `` |
|
| 197 |
+
| `d_0_42` | `double` | Source column from the original resource. | `` |
|
| 198 |
+
| `d_0_43` | `double` | Source column from the original resource. | `` |
|
| 199 |
+
| `d_0_44` | `double` | Source column from the original resource. | `` |
|
| 200 |
+
| `d_0_45` | `double` | Source column from the original resource. | `` |
|
| 201 |
+
| `d_0_46` | `double` | Source column from the original resource. | `` |
|
| 202 |
+
| `d_0_47` | `double` | Source column from the original resource. | `` |
|
| 203 |
+
| `d_0_48` | `double` | Source column from the original resource. | `` |
|
| 204 |
+
| `d_0_49` | `double` | Source column from the original resource. | `` |
|
| 205 |
+
| `d_0_50` | `double` | Source column from the original resource. | `` |
|
| 206 |
+
| `d_0_51` | `double` | Source column from the original resource. | `` |
|
| 207 |
+
| `d_0_52` | `double` | Source column from the original resource. | `` |
|
| 208 |
+
| `d_0_53` | `double` | Source column from the original resource. | `` |
|
| 209 |
+
| `d_0_54` | `double` | Source column from the original resource. | `` |
|
| 210 |
+
| `d_0_55` | `double` | Source column from the original resource. | `` |
|
| 211 |
+
| `d_0_56` | `double` | Source column from the original resource. | `` |
|
| 212 |
+
| `d_0_57` | `double` | Source column from the original resource. | `` |
|
| 213 |
+
| `d_0_58` | `double` | Source column from the original resource. | `` |
|
| 214 |
+
| `d_0_9843972112895004` | `double` | Source column from the original resource. | `` |
|
| 215 |
+
| `d_1_2193864821783055e_06` | `double` | Source column from the original resource. | `` |
|
| 216 |
+
| `d_4_4050724989448494e_07` | `double` | Source column from the original resource. | `` |
|
| 217 |
+
| `d_6_071444656460358e_07` | `double` | Source column from the original resource. | `` |
|
| 218 |
+
| `d_3_1904459049806337e_07` | `double` | Source column from the original resource. | `` |
|
| 219 |
+
| `d_4_1848852198341416e_07` | `double` | Source column from the original resource. | `` |
|
| 220 |
+
| `d_1_8838108937042392e_06` | `double` | Source column from the original resource. | `` |
|
| 221 |
+
| `d_0_00015770354113923895` | `double` | Source column from the original resource. | `` |
|
| 222 |
+
| `d_6_162226951793777e_07` | `double` | Source column from the original resource. | `` |
|
| 223 |
+
| `d_1_036547719455761` | `double` | Source column from the original resource. | `` |
|
| 224 |
+
| `d_1_646338676673855e_06` | `double` | Source column from the original resource. | `` |
|
| 225 |
+
| `d_1_3237424931576724e_05` | `double` | Source column from the original resource. | `` |
|
| 226 |
+
| `d_8_590544786352311e_07` | `double` | Source column from the original resource. | `` |
|
| 227 |
+
| `d_2_3401806662537e_06` | `double` | Source column from the original resource. | `` |
|
| 228 |
+
| `d_2_2976747543133367e_05` | `double` | Source column from the original resource. | `` |
|
| 229 |
+
| `d_3_399576619767668e_05` | `double` | Source column from the original resource. | `` |
|
| 230 |
+
| `d_1_075632999678186e_07` | `double` | Source column from the original resource. | `` |
|
| 231 |
+
| `d_7_16492416968299e_06` | `double` | Source column from the original resource. | `` |
|
| 232 |
+
| `d_4_041485406121981e_06` | `double` | Source column from the original resource. | `` |
|
| 233 |
+
| `d_9_783537482251254e_06` | `double` | Source column from the original resource. | `` |
|
| 234 |
+
| `d_6_692290505993193e_07` | `double` | Source column from the original resource. | `` |
|
| 235 |
+
| `d_3_204446058053275e_06` | `double` | Source column from the original resource. | `` |
|
| 236 |
+
| `d_8_038386490291102e_06` | `double` | Source column from the original resource. | `` |
|
| 237 |
+
| `d_9_513308418584505e_07` | `double` | Source column from the original resource. | `` |
|
| 238 |
+
| `d_4_966563495224125e_07` | `double` | Source column from the original resource. | `` |
|
| 239 |
+
| `d_1_3832824195035319e_06` | `double` | Source column from the original resource. | `` |
|
| 240 |
+
| `d_7_694906959503761e_07` | `double` | Source column from the original resource. | `` |
|
| 241 |
+
| `d_1_722528607392538e_06` | `double` | Source column from the original resource. | `` |
|
| 242 |
+
| `d_2_0300397351246694e_07` | `double` | Source column from the original resource. | `` |
|
| 243 |
+
| `d_1_6590459534075118e_06` | `double` | Source column from the original resource. | `` |
|
| 244 |
+
| `d_5_208265636721122e_07` | `double` | Source column from the original resource. | `` |
|
| 245 |
+
| `d_6_619546388933422e_06` | `double` | Source column from the original resource. | `` |
|
| 246 |
+
| `d_3_612782188860894e_07` | `double` | Source column from the original resource. | `` |
|
| 247 |
+
| `d_5_713336316575642e_06` | `double` | Source column from the original resource. | `` |
|
| 248 |
+
| `d_3_590423518250038e_07` | `double` | Source column from the original resource. | `` |
|
| 249 |
+
| `d_9_599700169832153e_07` | `double` | Source column from the original resource. | `` |
|
| 250 |
+
| `d_3_781458864370873e_07` | `double` | Source column from the original resource. | `` |
|
| 251 |
+
| `d_1_7691444185007388e_07` | `double` | Source column from the original resource. | `` |
|
| 252 |
+
| `d_1_9786423887367623e_07` | `double` | Source column from the original resource. | `` |
|
| 253 |
+
| `d_7_464151754451516e_07` | `double` | Source column from the original resource. | `` |
|
| 254 |
+
| `d_1_944798159529323e_06` | `double` | Source column from the original resource. | `` |
|
| 255 |
+
| `d_1_1435010268578954e_06` | `double` | Source column from the original resource. | `` |
|
| 256 |
+
| `d_1_1460230385584588e_06` | `double` | Source column from the original resource. | `` |
|
| 257 |
+
| `d_1_2009469127109973e_06` | `double` | Source column from the original resource. | `` |
|
| 258 |
+
| `d_8_044220479302946e_07` | `double` | Source column from the original resource. | `` |
|
| 259 |
+
| `d_1_1289963570995585e_06` | `double` | Source column from the original resource. | `` |
|
| 260 |
+
| `d_1_7575944003183138e_06` | `double` | Source column from the original resource. | `` |
|
| 261 |
+
| `d_0_00013929960284411996` | `double` | Source column from the original resource. | `` |
|
| 262 |
+
| `d_1_8588739182767699e_06` | `double` | Source column from the original resource. | `` |
|
| 263 |
+
| `d_5_433134192595967e_06` | `double` | Source column from the original resource. | `` |
|
| 264 |
+
| `d_3_387962888738779e_06` | `double` | Source column from the original resource. | `` |
|
| 265 |
+
| `d_8_184048138715586e_05` | `double` | Source column from the original resource. | `` |
|
| 266 |
+
| `d_2_884421889184382e_07` | `double` | Source column from the original resource. | `` |
|
| 267 |
+
| `d_4_334306763837058e_06` | `double` | Source column from the original resource. | `` |
|
| 268 |
+
| `d_1_1095235327400432e_05` | `double` | Source column from the original resource. | `` |
|
| 269 |
+
| `d_1_3384115955402431e_06` | `double` | Source column from the original resource. | `` |
|
| 270 |
|
| 271 |
## Usage
|
| 272 |
|
|
|
|
| 278 |
print(df.head())
|
| 279 |
```
|
| 280 |
|
| 281 |
+
### Inspect Columns
|
| 282 |
|
| 283 |
```python
|
| 284 |
+
print(df.info())
|
| 285 |
+
print(df.head())
|
| 286 |
```
|
| 287 |
|
| 288 |
+
### Filter By Geography
|
| 289 |
|
| 290 |
```python
|
| 291 |
+
if "country_iso3" in df.columns:
|
| 292 |
+
sample = df[df["country_iso3"] == "TZA"]
|
|
|
|
| 293 |
```
|
| 294 |
|
| 295 |
+
### Time-Series Pattern
|
| 296 |
+
|
| 297 |
+
```python
|
| 298 |
+
if "value" in df.columns and "year" in df.columns:
|
| 299 |
+
trend = df.sort_values("year")
|
| 300 |
+
```
|
| 301 |
+
|
| 302 |
+
### Pivot For Analysis
|
| 303 |
+
|
| 304 |
+
```python
|
| 305 |
+
if {"indicator_id", "year", "value"}.issubset(df.columns):
|
| 306 |
+
matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
|
| 307 |
+
print(matrix.tail())
|
| 308 |
+
```
|
| 309 |
+
|
| 310 |
+
## Data Quality Notes
|
| 311 |
+
|
| 312 |
+
- Canonical time field: `year`.
|
| 313 |
+
- Missing values are preserved rather than silently imputed.
|
| 314 |
+
- Column names are standardized for machine use; source meanings are preserved where known.
|
| 315 |
+
- Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
|
| 316 |
+
|
| 317 |
+
## Source And Provenance
|
| 318 |
+
|
| 319 |
+
- **Source:** [National Bureau of Statistics, Tanzania](https://www.nbs.go.tz/statistics/topic/input-and-output-tables)
|
| 320 |
+
- **Publisher:** National Bureau of Statistics, Tanzania
|
| 321 |
+
- **Portal:** [https://www.nbs.go.tz](https://www.nbs.go.tz)
|
| 322 |
+
- **Resource:** [Tanzania Mainland Industry to Industry IOT_2007.zip](https://www.nbs.go.tz/uploads/statistics/documents/en-1705429386-Tanzania_Mainland_Industry_to_Industry_IOT_2007.zip)
|
| 323 |
+
- **License:** other-open
|
| 324 |
+
- **Retrieved/generated:** `2026-07-21T20:06:06Z`
|
| 325 |
+
- **Hugging Face repo:** [electricsheepafrica/africa-tanzania-national-bureau-of-statistics-55aef179](https://huggingface.co/datasets/electricsheepafrica/africa-tanzania-national-bureau-of-statistics-55aef179)
|
| 326 |
+
|
| 327 |
+
## Transformations Applied
|
| 328 |
+
|
| 329 |
+
- Converted the source table to Parquet for efficient analytics and ML workflows.
|
| 330 |
+
- Added or preserved source provenance columns where available.
|
| 331 |
+
- Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
|
| 332 |
+
- Preserved source-reported values without analytical imputation.
|
| 333 |
+
|
| 334 |
+
## Suggested Analyses
|
| 335 |
+
|
| 336 |
+
- Profile the distribution of values
|
| 337 |
+
- Compare categories or geographies
|
| 338 |
+
- Join with complementary public datasets
|
| 339 |
+
- Build time-series views and period-over-period comparisons
|
| 340 |
+
- Check missingness before modeling
|
| 341 |
+
- Use `country_iso3` as the safest geography join key when present
|
| 342 |
+
|
| 343 |
## Citation
|
| 344 |
|
| 345 |
```bibtex
|
| 346 |
@misc{electric_sheep_africa_africa_tanzania_national_bureau_of_statistics_55aef179_2007,
|
| 347 |
+
title = {National Bureau of Statistics | Africa (National Bureau of Statistics, Tanzania)},
|
| 348 |
author = {National Bureau of Statistics, Tanzania},
|
| 349 |
year = {2007},
|
| 350 |
url = {https://www.nbs.go.tz/statistics/topic/input-and-output-tables},
|
| 351 |
+
publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
|
| 352 |
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-tanzania-national-bureau-of-statistics-55aef179}}
|
| 353 |
}
|
| 354 |
```
|
| 355 |
|
| 356 |
## License
|
| 357 |
|
| 358 |
+
Released under other-open.
|
|
|
|
|
|
|
|
|
|
| 359 |
|
| 360 |
+
Original data is published by National Bureau of Statistics, Tanzania. Electric Sheep Africa
|
| 361 |
+
engineering standardizes the data for discovery, loading, and analysis on
|
| 362 |
+
Hugging Face. Cite both the original source and this ML-ready dataset when used.
|
| 363 |
|
| 364 |
+
## About Electric Sheep Africa
|
|
|
|
|
|
|
|
|
|
|
|
|
| 365 |
|
| 366 |
+
Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
|
| 367 |
|
| 368 |
---
|
| 369 |
|
| 370 |
+
Provenance: README standardized 2026-08-12 by the Electric Sheep Africa README system. Source URL: https://www.nbs.go.tz/statistics/topic/input-and-output-tables
|
|
|