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

kurtosistest fails in mstats with type error (Trac #1424) #1949

Closed
scipy-gitbot opened this issue Apr 25, 2013 · 5 comments
Closed

kurtosistest fails in mstats with type error (Trac #1424) #1949

scipy-gitbot opened this issue Apr 25, 2013 · 5 comments
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Migrated from Trac scipy.stats
Milestone

Comments

@scipy-gitbot
Copy link

Original ticket http://projects.scipy.org/scipy/ticket/1424 on 2011-04-12 by @bsouthey, assigned to unknown.

This error was reported on the scipy-user list by Timothy Wu.

[http://mail.scipy.org/pipermail/scipy-user/2011-April/028973.html]

File "/usr/lib/python2.6/dist-packages/scipy/stats/mstats_basic.py", line
1546, in kurtosistest
    n = a.count(axis=axis).astype(float)
AttributeError: 'int' object has no attribute 'astype'
@scipy-gitbot
Copy link
Author

Attachment added by @bsouthey on 2011-04-12: kurtosistest.patch

@scipy-gitbot
Copy link
Author

@rgommers wrote on 2011-09-11

See gh-1950.

@scipy-gitbot
Copy link
Author

Milestone changed to Unscheduled by @rgommers on 2011-09-11

@WarrenWeckesser
Copy link
Member

Related numpy issue: numpy/numpy#3368

@rgommers
Copy link
Member

Fixed in gh-3008.

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 Migrated from Trac scipy.stats
Projects
None yet
Development

No branches or pull requests

3 participants