Releases: PolicyEngine/microdf
Releases · PolicyEngine/microdf
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.1
v0.3.0
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
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), wheredfis aDataFrame,colis a string representing the numeric column to aggregate, andwis 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