Skip to content

Releases: raphaelvallat/pingouin

Pingouin v0.6.0

24 Feb 12:13
4f1374e

Choose a tag to compare

This is a major release with several bugfixes and breaking changes, as well as critical updates to the build infrastructure, dependencies and test suite (see PR489)

Some of the key highlights are described below:

Bugfixes

  • Disable one-sided Bayes Factor for T-tests, which were ill-defined (PR487)
  • Update RBC calculation for Wilcoxon signed-rank test to be dependent on the alternative (PR457)
  • Sphericity fix with very low eigenvalues (PR482)
  • Fix divide-by-zero in internal _correl_pvalue when r == 1 (PR474
  • Fix boxplot z-order in pingouin.plot_paired() (PR442)

API breaking changes

  • Column names update (PR443): removed characters that restrict column access to the bracket format (df[“p_val”]) rather than dot method (df.p_val). This includes:
    • Replaced dashes with underscores in column names (e.g., p-val –> p_val)
    • Replaced parentheses with underscores in column names (e.g., mean(A) –> mean_A)
    • Removed percent signs and brackets in column names (e.g., CI95% –> CI95, CI[97.5%] –> CI97.5)

Dependency requirements

This is the first version to be fully compatible with pandas 3.x and numpy 2.x (PR480).

This version requires Python >= 3.10 (tested on Python 3.10-3.14) and:

Build infrastructure

Special thanks to @yann1cks for all the help here!

  • Replaced black and flake8 with Ruff for unified linting and formatting (PR446)
  • Adopted uv for faster dependency management in CI
  • Extended CI matrix to Ubuntu, macOS and Windows across Python 3.10, 3.12 and 3.14, plus a separate matrix testing minimum through latest dependency versions (PR489)

What's Changed

New Contributors

Full Changelog: v0.5.5...v0.6.0

v0.5.5

04 Sep 10:48
b1488dd

Choose a tag to compare

This is a minor release with several bugfixes, and major updates to the internal structure and sphinx documentation.

What's Changed

New Contributors

Full Changelog: v0.5.4...v0.5.5

v0.5.4

13 Jan 15:48
ae09514

Choose a tag to compare

This is a minor release with several bugfixes and no new features. The new version is tested for Python 3.8-3.11 (but should also work with Python 3.12).

This release requires pandas≥1.5. We recommend scipy≥1.11.0.

What's Changed

New Contributors

Full Changelog: v0.5.3...v0.5.4

v0.5.3

29 Dec 22:57

Choose a tag to compare

This is a minor release with a few bugfixes, several improvements and one new function/pandas.DataFrame method. Read the changelog at https://pingouin-stats.org/changelog.html

What's Changed

New Contributors

v0.5.2

24 Jun 18:07

Choose a tag to compare

Bugfixes

a. The eta-squared (n2) effect size was not properly calculated in one-way and two-way repeated measures ANOVAs. Specifically, Pingouin followed the same behavior as JASP, i.e. the eta-squared was the same as the partial eta-squared. However, as explained in #251, this behavior is not valid. In one-way ANOVA design, the eta-squared should be equal to the generalized eta-squared. As of March 2022, this bug is also present in JASP. We have therefore updated the unit tests to use JAMOVI instead.

Please double check any effect sizes previously obtained with the pingouin.rm_anova function!

b. Fixed invalid resampling behavior for bivariate functions in pingouin.compute_bootci when x and y were not paired. #281
c. Fixed bug where confidence (previously ci) was ignored when calculating the bootstrapped confidence intervals in pingouin.plot_shift. #282

Enhancements

a. The pingouin.pairwise_ttests has been renamed to pingouin.pairwise_tests. Non-parametric tests are also supported in this function with the parametric=False argument, and thus the name "ttests" was misleading #209
b. Allow pingouin.bayesfactor_binom to take Beta alternative model. #252
c. Allow keyword arguments for logistic regression in pingouin.mediation_analysis. #245
d. Speed improvements for the Holm and FDR correction in pingouin.multicomp. #271
e. Speed improvements univariate functions in pingouin.compute_bootci (e.g. func="mean" is now vectorized).
f. Rename eta to eta_squared in pingouin.power_anova andpingouin.power_rm_anova to avoid any confusion. #280
g. Add support for DataMatrix objects. #286
h. Use black for code formatting.

v0.5.1

20 Feb 17:08
a3e2ba6

Choose a tag to compare

Pingouin 0.5.1

This is a minor release, with several bugfixes and improvements. This release is compatible with SciPy 1.8 and Pandas 1.4.

Bugfixes

Enhancements

  • Faster implementation of pingouin.gzscore(), adding all options available in zscore: axis, ddof and nan_policy. Warning: this function is deprecated and will be removed in the next version of Pingouin (use scipy.stats.gzscore() instead). #210.
  • Replace use of statsmodels’ studentized range distribution functions with more SciPy’s more accurate scipy.stats.studentized_range(). #229.
  • Add support for optional keywords argument in the pingouin.homoscedasticity() function #218
  • Add support for the Jarque-Bera test in pingouin.normality() #216.

Lastly, we have also deprecated the Gitter forum in favor of GitHub Discussions. Please use Discussions to ask questions, share ideas / tips and engage with the Pingouin community!

v0.5.0

28 Oct 22:09

Choose a tag to compare

This is a major release with several important bugfixes. We recommend all users to upgrade to this new version.

See the full changelog at: https://pingouin-stats.org/changelog.html#v0-5-0-october-2021

v0.4.0

13 Aug 18:00

Choose a tag to compare

This is a major release with an important upgrade of the dependencies (requires Python 3.7+ and SciPy 1.7+), several enhancements in existing function and a new function to test the equality of covariance matrices (pingouin.box_m). We recommend all users to upgrade to the latest version of Pingouin.

See the full changelog at: https://pingouin-stats.org/changelog.html#v0-4-0-august-2021

v0.3.12

27 May 22:16

Choose a tag to compare

This release fixes a critical error in pingouin.partial_corr: the number of covariates was not taken into account when calculating the degrees of freedom of the partial correlation, thus leading to incorrect results (except for the correlation coefficient which remained unaffected). For more details, please see #171.

For the full changelog, please see https://pingouin-stats.org/changelog.html

v0.3.11

14 Apr 21:19

Choose a tag to compare

This is a minor release with several bug fixes in pingouin.corr. The full changelog can be found here.