March 2003
Intermediate to advanced
656 pages
39h 30m
English
astype
a.astype(typecode)Returns a new array b with the same shape
as a.
b’s elements are
a’s elements coerced to
the type indicated by typecode.
b does not share
a’s data, even if
typecode equals
a
.typecode( ).