Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Changed return type of pearsonr to namedtuple #13801

Closed
wants to merge 3 commits into from

Conversation

guiweber
Copy link
Contributor

@guiweber guiweber commented Apr 4, 2021

What does this implement/fix?

This change aims to make the return type of stats.pearsonr consistent with other stats functions such as stats.spearmanr which already return named tuples

This change aims to make the return type of `stats.pearsonr` consistent with other stats functions such as `stats.spearmanr` which already return named tuples
@guiweber
Copy link
Contributor Author

guiweber commented Apr 5, 2021

As far as I can tell the test failures are not related to my changes... But if they are let me know and I'll make the necessary corrections.

@mdhaber
Copy link
Contributor

mdhaber commented Apr 5, 2021

Thanks @guiweber. #12609 is going to add confidence intervals, which will make this a bunch. Not sure what the timeline on that is. @WarrenWeckesser This one is up to you.
Update: oops, didn't mean to close myself.

@mdhaber mdhaber closed this Apr 5, 2021
@mdhaber mdhaber reopened this Apr 5, 2021
@brandondavid brandondavid added enhancement A new feature or improvement scipy.stats labels May 2, 2021
@mdhaber
Copy link
Contributor

mdhaber commented Feb 21, 2022

This will be addressed by gh-15586, so closing.

@mdhaber mdhaber closed this Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement scipy.stats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants