--- license: cc-by-sa-4.0 language: - en task_categories: - tabular-classification - tabular-regression multilinguality: multilingual size_categories: - 1K` | ISO3 country or area code. | `MU` | | `country_name` | `dictionary` | Country or area name. | `Mauritius` | | `source_sheet` | `string` | Source column from the original resource. | `Sheet1` | | `locality` | `string` | Source column from the original resource. | `ALBION` | | `sublocality` | `string` | Source column from the original resource. | `Albion` | | `postcode` | `double` | Source column from the original resource. | `91001.0` | | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `` | | `source_period_end_year` | `int64` | End year inferred from source metadata. | `` | | `source_period_label` | `string` | Source column from the original resource. | `` | | `source_provider` | `dictionary` | Publishing organization. | `MDPA` | | `source_dataset` | `dictionary` | Source dataset or package title. | `Postcodes and Localities in Mauritius` | | `source_resource` | `dictionary` | Source resource title, table name, or file name. | `PostCodeMauritius_0.xlsx` | | `source_package_id` | `dictionary` | Source package identifier. | `5babd1ea-4745-406d-8ada-871d13981ceb` | | `source_resource_id` | `dictionary` | Source resource identifier. | `61c6de44-223c-4bec-8000-f3b4aae1e348` | | `source_url` | `dictionary` | Original source URL or download URL. | `https://data.govmu.org/dataset/5babd1ea-4745-406d-8ada-871d13981ceb/r...` | | `license_id` | `dictionary` | Source license identifier. | `CC-BY-SA-4.0` | | `retrieved_at` | `dictionary` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-08T16:26:20Z` | ## Usage ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-mauritius-postcodes-and-localities-in-mauritius-20c7ffe2") df = ds["train"].to_pandas() print(df.head()) ``` ### Inspect Columns ```python print(df.info()) print(df.head()) ``` ### Filter By Geography ```python if "country_iso3" in df.columns: sample = df[df["country_iso3"] == "MU"] ``` ### Time-Series Pattern ```python if "value" in df.columns and "source_period_start_year" in df.columns: trend = df.sort_values("source_period_start_year") ``` ### Pivot For Analysis ```python if {"indicator_id", "year", "value"}.issubset(df.columns): matrix = df.pivot_table(index="year", columns="indicator_id", values="value") print(matrix.tail()) ``` ## Data Quality Notes - Canonical time field: `source_period_start_year`. - Missing values are preserved rather than silently imputed. - Column names are standardized for machine use; source meanings are preserved where known. - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use. ## Source And Provenance - **Source:** [MDPA](https://data.govmu.org/dataset/postcodes-and-localities-mauritius) - **Publisher:** MDPA - **Portal:** [https://data.govmu.org](https://data.govmu.org) - **Resource:** [PostCodeMauritius_0.xlsx](https://data.govmu.org/dataset/5babd1ea-4745-406d-8ada-871d13981ceb/resource/61c6de44-223c-4bec-8000-f3b4aae1e348/download/postcodemauritius_0.xlsx) - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) - **Retrieved/generated:** `2026-08-08T16:27:11Z` - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-postcodes-and-localities-in-mauritius-20c7ffe2](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-postcodes-and-localities-in-mauritius-20c7ffe2) ## Transformations Applied - Converted the source table to Parquet for efficient analytics and ML workflows. - Added or preserved source provenance columns where available. - Standardized README metadata, dataset loading configuration, schema documentation, and citation format. - Preserved source-reported values without analytical imputation. ## Suggested Analyses - Profile the distribution of values - Compare categories or geographies - Join with complementary public datasets - Build time-series views and period-over-period comparisons - Check missingness before modeling - Use `country_iso3` as the safest geography join key when present ## Citation ```bibtex @misc{electric_sheep_africa_africa_mauritius_postcodes_and_localities_in_mauritius_20c7ffe2_2026, title = {Postcodes and Localities in Mauritius | Africa (MDPA)}, author = {MDPA}, year = {2026}, url = {https://data.govmu.org/dataset/postcodes-and-localities-mauritius}, publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-postcodes-and-localities-in-mauritius-20c7ffe2}} } ``` ## License Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). Original data is published by MDPA. Electric Sheep Africa engineering standardizes the data for discovery, loading, and analysis on Hugging Face. Cite both the original source and this ML-ready dataset when used. ## About Electric Sheep Africa Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face. --- Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/postcodes-and-localities-mauritius