Question(s):

What is the ravel() function is used for in Numpy?

Sample Answer:

The ravel() function is used to combine multiple arrays into a single array. It can also convert 2-dimensional or multi-dimensional arrays in one single flattened array. When the input provided to the ravel() function is a masked array then the returned arrays would also be a masked array.

Related Posts