NumPy - Array Data Types
Identify the error in this code snippet:
import numpy as np
arr = np.array([1, 2, 3])
arr.astype('integer')import numpy as np
arr = np.array([1, 2, 3])
arr.astype('integer')15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions