[Scipy-tickets] [SciPy] #1200: consistency of std interface

SciPy Trac scipy-tickets@scipy....
Wed Jun 16 09:43:32 CDT 2010


#1200: consistency of std interface
----------------------------------------+-----------------------------------
 Reporter:  amcmorl                     |       Owner:  somebody   
     Type:  defect                      |      Status:  new        
 Priority:  normal                      |   Milestone:  Unscheduled
Component:  scipy.stats                 |     Version:  devel      
 Keywords:  signature, ddof, bias, std  |  
----------------------------------------+-----------------------------------
 scipy.stats.nanstd and numpy.std have different signatures, which should
 be made consistent:

   scipy.stats.nanstd(x, axis=0, bias=False)

 vs

   numpy.std(a, axis=None, dtype=None, out=None, ddof=0)

 Most important is changing the bias keyword to ddof.
 The dtype parameter may not be relevant to nanstd since nans only exist in
 floats (what about complex?).

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


More information about the Scipy-tickets mailing list