[NumPy-Tickets] [NumPy] #1234: axis keyword could take multiple axes for reduction operations

NumPy Trac numpy-tickets@scipy....
Wed Aug 31 13:43:16 CDT 2011


#1234: axis keyword could take multiple axes for reduction operations
--------------------------+-------------------------------------------------
  Reporter:  oliphant     |       Owner:  somebody
      Type:  enhancement  |      Status:  closed  
  Priority:  normal       |   Milestone:  2.0.0   
 Component:  Other        |     Version:          
Resolution:  fixed        |    Keywords:          
--------------------------+-------------------------------------------------
Changes (by mwiebe):

  * status:  needs_review => closed
  * resolution:  => fixed


Comment:

 The missingdata branch is merged now, and this has been added to the
 release notes:


 {{{
 Reduction UFuncs Generalize axis= Parameter
 -------------------------------------------

 Any ufunc.reduce function call, as well as other reductions like
 sum, prod, any, all, max and min support the ability to choose
 a subset of the axes to reduce over. Previously, one could say
 axis=None to mean all the axes or axis=# to pick a single axis.
 Now, one can also say axis=(#,#) to pick a list of axes for reduction.
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1234#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list