Charles R Harris wrote:
> I vaguely recall this generated an array from all the characters.
>
> In [1]: array('123', dtype='c')
> Out[1]:
> array('1',
>       dtype='|S1')
This may be a bug.

 >>> import Numeric
 >>> Numeric.array('123','c')
array([1, 2, 3],'c')

My memory of the point of 'c' was to mimic Numeric's behavior for 
character arrays.

-Travis


_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to