SyntaxFix
Write A Post
Hire A Developer
Questions
There's also a really useful discussion about converting the array in place, In-place type conversion of a NumPy array. If you're concerned about copying your array (which is whatastype() does) definitely check out the link.
astype()