[Numpy-discussion] assignment to array.dtype

Travis Oliphant oliphant at ee.byu.edu
Fri Mar 23 12:46:36 EDT 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