NumPy - Array Data Types
What is the output of this code?
import numpy as np arr = np.array([1, 2, 3, 4, 5]) mask = arr > 3 print(mask)
import numpy as np arr = np.array([1, 2, 3, 4, 5]) mask = arr > 3 print(mask)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions