[NumPy-Tickets] [NumPy] #440: Inconsistent behaviour for empty arrays

NumPy Trac numpy-tickets@scipy....
Tue Mar 22 20:23:22 CDT 2011

#440: Inconsistent behaviour for empty arrays
 Reporter:  stefan      |       Owner:  stefan        
     Type:  defect      |      Status:  needs_decision
 Priority:  normal      |   Milestone:  Unscheduled   
Component:  numpy.core  |     Version:                
 Keywords:              |  
Changes (by mwiebe):

  * milestone:  => Unscheduled


 Since the operations can't be reasonably defined for empty arrays, maybe a
 ValueError with a specific message about that is a better resolution?
 Returning NaN as the median of an integer array doesn't really make sense.

Ticket URL: <http://projects.scipy.org/numpy/ticket/440#comment:7>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list