[Tutor] Convert structured 1D array to 2D array

Peter Otten __peter__ at web.de
Sat Feb 27 03:18:58 EST 2016


Peter Otten wrote:

> Or try
> 
> b = numpy.array(a, dtype=(object, object))

That won't work, I accidentally tested it on an already converted array :(



More information about the Tutor mailing list