Looking for ADS1001 - Data challenges 1 - S1 2025 test answers and solutions? Browse our comprehensive collection of verified answers for ADS1001 - Data challenges 1 - S1 2025 at learning.monash.edu.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
What does plt.savefig("figure.png") do?
What is the output of the following code:
import numpy as np
A = np.array([[200, 300], [100, 400]])
B = np.array([[150, 100], [400, 100]])
result = A + B
print(result)
How do you create a NumPy array from a list [1, 2, 3, 4]?
What is the output of the following snippet:
import numpy as npimport math
print(np.round(list(map(math.exp,[0,1,2])),2))
Which of the following functions is used to compute the square root in the math module?
What is the result of the following code:
import numpy as np
ar = np.array([0.5, 1, 7, 66, 234, 1000, 0.01])
print(ar[3:6])