Skip to content

Releases: PolicyEngine/microdf

v0.4.3

29 Oct 17:22
Compare
Choose a tag to compare

What's New

  • Fix: Correct name for PyPI distribution

Full Changelog: v0.4.2...v0.4.3

v0.4.2

29 Oct 17:07
Compare
Choose a tag to compare

What's New

  • FIX: Correct version number

Full Changelog: v0.4.1...v0.4.2

v0.4.1

29 Oct 17:03
1419cf5
Compare
Choose a tag to compare

What's Changed

  • Lint package

Full Changelog: v0.4.0...v0.4.1

v0.4.0

24 Oct 22:19
Compare
Choose a tag to compare
  • Conditionally import matplotlib and seaborn
  • Create new [charts] install option to install heavier dependencies

v0.3.1

24 Oct 21:01
Compare
Choose a tag to compare
  • fix: Handle floating point error when calculating rank values

v0.3.0

23 Feb 06:55
995a0c7
Compare
Choose a tag to compare

This release introduces the MicroDataFrame and MicroSeries objects, which extend pandas DataFrame and Series objects, respectively, to add observation weights to each record as an attribute. Common operations like mean and median work as they do with pandas objects, but with weights applied. Special functions like gini and poverty_gap are also implemented for these objects.

v0.2.0

08 Sep 16:34
03519d0
Compare
Choose a tag to compare

This release includes non-backward-compatible changes.

New features

  • All functions having to do with weighting and inequality share the same API structure: function(df, col, w), where df is a DataFrame, col is a string representing the numeric column to aggregate, and w is a string representing the weight column.

Other changes

  • Various bug fixes
  • Documentation is now automatically generated via Jupyter Book and GitHub Actions
  • Code is formatted via black
  • Docstrings are now in sphinx style

v0.1.0

14 Jul 19:44
f1a976b
Compare
Choose a tag to compare

All current code.