Cast to a NumPy array with ‘dtype’.
Typecode or data-type to which the array is cast.
Whether to copy the data, even if not necessary. If False,
a copy is made only if the old dtype does not match the
NumPy ndarray with ‘dtype’ for its dtype.