Python Programming - Arrays - Discussion
Discussion Forum : Arrays - General Questions (Q.No. 33)
33.
What does the NumPy function
numpy.diag(arr, k=0)
do?
Answer: Option
Explanation:
The
numpy.diag()
function extracts the diagonal elements from the array.
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