[NumPy-Tickets] [NumPy] #1807: Resizing string array to zero length causes datatype to change to 1 character.
NumPy Trac
numpy-tickets@scipy....
Sun Apr 24 23:18:41 CDT 2011
#1807: Resizing string array to zero length causes datatype to change to 1
character.
------------------------+---------------------------------------------------
Reporter: bellamyj | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: devel
Keywords: |
------------------------+---------------------------------------------------
If a string array is resized to zero length, and then to non-zero length,
the data type will change to a single character (|S1).
See the attached code for an example.
I'm running 32 bit Python 2.7.1 on Windows and !NumPy 1.5.1.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1807>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list