NumPy - Array Operations
The following code throws an error. What is the cause?
import numpy as np arr = np.array([1, 2, 3]) result = arr + '5' print(result)
import numpy as np arr = np.array([1, 2, 3]) result = arr + '5' print(result)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions