[Numpy-discussion] numpy uint16 array to unicode string

Janwillem jwevandijk@xs4all...
Sat Feb 25 13:50:12 CST 2012


I have a buffer as a numpy array of uint16. Chunks of this buffer are 
unicode characters. How do I get these chunks, say data[start:end], in a 
string?
Other chunks are 32bit integers how do I get these chunks into a numpy 
array of int32?
Many thanks, Janwillem


More information about the NumPy-Discussion mailing list