Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 13)
13.
What is the purpose of the numpy.flatten() method?
Reshapes the array.
Converts the array to a list.
Computes the sum of the array elements.
Retrieves the maximum value in the array.
Answer: Option
Explanation:
The numpy.flatten() method flattens the array, converting it to a one-dimensional list.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.