[Scipy-tickets] [SciPy] #1731: mquantiles description of parameter 'limit' doesn't match its effect

SciPy Trac scipy-tickets@scipy....
Wed Sep 19 06:47:03 CDT 2012


#1731: mquantiles description of parameter 'limit' doesn't match its effect
------------------------------+---------------------------------------------
 Reporter:  hvw               |       Owner:  somebody   
     Type:  defect            |      Status:  new        
 Priority:  normal            |   Milestone:  Unscheduled
Component:  scipy.stats       |     Version:  0.10.0     
 Keywords:  mquantiles limit  |  
------------------------------+---------------------------------------------
 Description says:
 -----------------------------------------------
 limit : tuple

 Tuple of (lower, upper) values. Values of a outside this closed interval
 are ignored.
 ------------------------------------------------
 However, values outside this *open* interval are ignored.
 See mstat_basic.py, lines 1768-1770:
 -------------------------------------------------------
 if limit:
         condition = (limit[0]<data) & (data<limit[1])
         data[~condition.filled(True)] = masked
 -------------------------------------------------------

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


More information about the Scipy-tickets mailing list