Python Programming - Arrays - Discussion
Discussion Forum : Arrays - General Questions (Q.No. 69)
69.
Given two NumPy arrays
arr1 = np.array([1, 2, 3])
and arr2 = np.array([4, 5, 6])
, what does np.dot(arr1, arr2)
return?Answer: Option
Explanation:
The
np.dot()
function calculates the dot product of two arrays.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers