NumPy - Array Data Types
Which of the following is the correct syntax to convert a NumPy array
arr to integer type?arr to integer type?astype() as a method on the array: arr.astype(int).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions