Pingouin

Latest version: v0.5.4

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.3.6

See full changelog at: https://pingouin-stats.org/changelog.html

0.3.5

Minor release. See full changelog at: https://pingouin-stats.org/changelog.html

0.3.4

See full changelog at https://pingouin-stats.org/changelog.html

0.3.3

Minor release:

**Bugfixes**

* Fixed a bug in pingouin.pairwise_corr caused by the deprecation of ``pandas.core.index`` in the new version of Pandas (1.0). For now, both Pandas 0.25 and Pandas 1.0 are supported.
* The standard deviation in pingouin.pairwise_ttests when using ``return_desc=True`` is now calculated with ``np.nanstd(ddof=1)`` to be consistent with Pingouin/Pandas default unbiased standard deviation.

**New functions**

* Added the pingouin.plot_circmean function to plot the circular mean and circular vector length of a set of angles (in radians) on the unit circle. Note that this function is still in beta and some parameters may change without warnings in the next releases.

0.3.2

Hotfix release to fix a critical issue with [pingouin.pairwise_ttests()](https://pingouin-stats.org/generated/pingouin.pairwise_ttests.html#pingouin.pairwise_ttests) (see below). We strongly recommend that you update to the newest version of Pingouin and double-check your previous results if you’ve ever used the pairwise T-tests with more than one factor (e.g. mixed, factorial or 2-way repeated measures design).

**Bugfixes**

- MAJOR: Fixed a bug in [pingouin.pairwise_ttests()](https://pingouin-stats.org/generated/pingouin.pairwise_ttests.html#pingouin.pairwise_ttests) when using mixed or two-way repeated measures design. Specifically, the T-tests were performed without averaging over repeated measurements first (i.e. without calculating the marginal means). Note that for mixed design, this only impacts the between-subject T-test(s). Practically speaking, this led to higher degrees of freedom (because they were conflated with the number of repeated measurements) and ultimately incorrect T and p-values because the assumption of independence was violated. Pingouin now averages over repeated measurements in mixed and two-way repeated measures design, which is the same behavior as [JASP](https://jasp-stats.org/) or [JAMOVI](https://www.jamovi.org/). As a consequence, and when the data has only two groups, the between-subject p-value of the pairwise T-test should be (almost) equal to the p-value of the same factor in the [pingouin.mixed_anova()](https://pingouin-stats.org/generated/pingouin.mixed_anova.html#pingouin.mixed_anova) function. The old behavior of Pingouin can still be obtained using the ``marginal=False`` argument.

- Minor: Added a check in [pingouin.mixed_anova()](https://pingouin-stats.org/generated/pingouin.mixed_anova.html#pingouin.mixed_anova) to ensure that the ``subject`` variable has a unique set of values for each between-subject group defined in the ``between`` variable. For instance, the subject IDs for group1 are [1, 2, 3, 4, 5] and for group2 [6, 7, 8, 9, 10]. The function will throw an error if there are one or more overlapping subject IDs between groups (e.g. the subject IDs for group1 AND group2 are both [1, 2, 3, 4, 5]).

- Minor: Fixed a bug which caused the [pingouin.plot_rm_corr()](https://pingouin-stats.org/generated/pingouin.plot_rm_corr.html#pingouin.plot_rm_corr) and [pingouin.ancova()](https://pingouin-stats.org/generated/pingouin.ancova.html#pingouin.ancova) (with >1 covariates) to throw an error if any of the input variables started with a number (because of statsmodels / [Patsy formula formatting](https://patsy.readthedocs.io/en/latest/builtins-reference.html)).

**Enhancements**

- Upon loading, Pingouin will now use the [outdated](https://github.com/alexmojaki/outdated) package to check and warn the user if a newer stable version is available.

- Globally removed the ``export_filename`` parameter, which allowed to export the output table to a .csv file. This helps simplify the API and testing. As an alternative, one can simply use [pandas.to_csv()](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_csv.html) to export the output dataframe generated by Pingouin.

- Added the ``correction`` argument to [pingouin.pairwise_ttests()](https://pingouin-stats.org/generated/pingouin.pairwise_ttests.html#pingouin.pairwise_ttests) to enable or disable Welch’s correction for independent T-tests.

0.3.1

**Minor release with some bugfixes**

- Fixed a bug in which missing values were removed from all columns in the dataframe in [pingouin.kruskal()](https://pingouin-stats.org/generated/pingouin.kruskal.html#pingouin.kruskal), even columns that were unrelated. See https://github.com/raphaelvallat/pingouin/issues/74.

- The [pingouin.power_corr()](https://pingouin-stats.org/generated/pingouin.power_corr.html#pingouin.power_corr) function now throws a warning and return a np.nan when the sample size is too low (and not an error like in previous version). This is to improve compatibility with the pingouin.pairwise_corr() function.

- Fixed quantile direction in the [pingouin.plot_shift()](https://pingouin-stats.org/generated/pingouin.plot_shift.html#pingouin.plot_shift) function. In v0.3.0, the quantile subplot was incorrectly labelled as Y - X, but it was in fact calculating X - Y. See https://github.com/raphaelvallat/pingouin/issues/73

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.