Robert Kern wrote: > > > Can we make it so that dtype('c') is preserved instead of displaying > '|S1'? It does not behave the same as dtype('|S1') although it > compares equal to it. >
We could with some special-casing in the representation for string data-types. Right now, dtype('c') is equivalent to dtype('S1') except the type member of the underlying C-structure (char attribute in Python) is 'c' instead of 'S' -Travis _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion