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

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

Projects

None yet

3 participants

@scipy-gitbot

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

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

@scipy-gitbot

@rgommers wrote on 2011-09-11

See gh-1950.

@scipy-gitbot

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

@WarrenWeckesser

Related numpy issue: numpy/numpy#3368

@rgommers
SciPy member

Fixed in gh-3008.

@rgommers rgommers closed this Nov 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment