News
- Remove support for python 3.11 due to new test failures. This will be the case until glmnet will be replaced by sklearn. hopefully before end of year.
New Features
- All plotly functions: add kwargs to pass arguments to update_layout in all plotly figures. This is useful to control width and height of the plot. For example, when wanting to save a high resolution of the image.
- Add a
summary
methods to BalanceWeightsDF
(i.e.: Sample.weights().summary()
) to easily get access to summary statistics of the survey weights. Also, it means that Sample.diagnostics()
now uses this new summary method in its internal implementation.
BalanceWeightsDF.plot
method now relies on the default BalanceDF.plot
method. This means that instead of a static seaborn kde plot we'll get an interactive plotly version.
Bug Fixes
- datasets
- Remove a no-op in
load_data
and accommodate deprecation of pandas syntax by using a list rather than a set when selecting df columns (thanks @ahakso for the PR).
- Make the outcome variable (
happiness
) be properly displayed in the tutorials (so we can see the benefit of the weighting process). This included fixing the simulation code in the target.
- Fix
Sample.outcomes().summary()
so it will output the ci columns without truncating them.
Documentation
- Fix text based on updated from version 0.7.0 and 0.8.0.
- Fix tutorials to include the outcome in the target.
Contributors
@talgalili, @SarigT, @ahakso