[NumPy-Tickets] [NumPy] #1948: chararray subscription returns empty string instead of empty list
NumPy Trac
numpy-tickets@scipy....
Sun Mar 25 11:02:02 CDT 2012
#1948: chararray subscription returns empty string instead of empty list
------------------------------------+---------------------------------------
Reporter: jazzer | Owner: somebody
Type: defect | Status: needs_review
Priority: normal | Milestone: 1.7.0
Component: numpy.core | Version: 1.5.1
Keywords: chararray empty string |
------------------------------------+---------------------------------------
Comment(by rgommers):
{{{
>>> np.chararray([]).size
1
>>> np.chararray([]).shape
()
>>> np.array([])
array([], dtype=float64)
>>> np.array([]).size
0
>>> np.array([]).shape
(0,)
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1948#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list