[Numpy-discussion] assignment to array.dtype

Travis Oliphant oliphant@ee.byu....
Fri Mar 23 11:46:36 CDT 2007


Jan Strube wrote:

> Hi list,
> maybe this is a really stupid idea, and I don't want to advertise 
> this, but what actually happens when I reassign the dtype of an object?
> Does it return the same as array.view?


Yes, it is the same.  In fact, IIRC it uses very similar code.

-Travis



More information about the Numpy-discussion mailing list