[Scipy-tickets] [SciPy] #1424: kurtosistest fails in mstats with type error

SciPy Trac scipy-tickets@scipy....
Tue Apr 12 09:54:04 CDT 2011


#1424: kurtosistest fails in mstats with type error
-------------------------+--------------------------------------------------
 Reporter:  bsouthey     |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  low          |   Milestone:  0.9.1   
Component:  scipy.stats  |     Version:  devel   
 Keywords:               |  
-------------------------+--------------------------------------------------
 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'
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1424>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list