Skip to content

Releases

pakdata 0.1.2

Choose a tag to compare

@junaidaslam2006 junaidaslam2006 released this 02 Dec 18:25

Fixes found after launch: the datasets now fit together. No measured value changed.

What's fixed

  • Floods join the census. New column census_district in pak_floods_2022 gives the census spelling of each district (UNOSAT and PBS name 16 districts differently, e.g. "D. I. Khan" / "Dera Ismail Khan", plus Shaheed Sikandarabad, the former name of Surab). Now census.merge(floods, left_on="district", right_on="census_district") matches 135 of 136 districts. The data card explains the one that cannot match (Keamari), Lehri, and boundary differences.
  • One spelling for every province in every dataset: "Azad Jammu and Kashmir" (was "Azad Kashmir" in pak_floods_2022 and pak_cities) and "Islamabad Capital Territory" (was "Islamabad" in pak_air_quality). Every province column now has the same categories, and a new test keeps it that way.
  • Classification targets list their classes. For a text target, e.g. load_pak_cities(target="province"), target_names now lists the classes (like sklearn.datasets.load_iris). New target_column always gives the column name. Numeric targets are unchanged.
  • Data cards explain how to combine datasets: cities by ascii_name, earthquake times (UTC) with daily dates, and the overlapping weather columns of pak_weather and pak_air_quality.
  • The website and data explorer are regenerated from 0.1.2.

Mirrors

  • Kaggle copies of the three changed datasets are updated to 0.1.2.
  • OpenML links are removed for now: OpenML lost every dataset uploaded after 9 November 2026, including the pakdata copies. They will be re-uploaded when OpenML accepts uploads again.

Install

pip install --upgrade pakdata

pakdata 0.1.1

Choose a tag to compare

@junaidaslam2006 junaidaslam2006 released this 29 Nov 20:28

No data changes (same 2026.11 snapshot as 0.1.0).

  • PyPI page links to GitHub, Hugging Face and Kaggle
  • Citation file (Cite this repository / Zenodo DOI)
  • Automatic tests on Windows, macOS and Linux
  • Releases now publish to PyPI automatically