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

scipy.stats.mstats.gmean does not actually take dtype #3196

Closed
cancan101 opened this issue Jan 9, 2014 · 1 comment
Closed

scipy.stats.mstats.gmean does not actually take dtype #3196

cancan101 opened this issue Jan 9, 2014 · 1 comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.stats
Milestone

Comments

@cancan101
Copy link
Contributor

http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.mstats.gmean.html indicates that scipy.stats.mstats.gmean take a dtype parameter but the code says otherwise: https://github.com/scipy/scipy/blob/v0.13.0/scipy/stats/mstats_basic.py#L268

@josef-pkt
Copy link
Member

looks like an old change in stats that was never made in mstats
ab5a94d

mstats copies the docstring which is not correct

andreas-h added a commit to andreas-h/scipy that referenced this issue Feb 8, 2014
andreas-h added a commit to andreas-h/scipy that referenced this issue Feb 23, 2014
…gmean and hmean

TST: test correct dtype handling in masked_array case in scipy.stats.gmean and hmean

fixes scipy#3196
@rgommers rgommers added this to the 0.14.0 milestone Feb 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.stats
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants