pandas.Series.ravel#

Series.ravel(order='C')[source]#

Return the flattened underlying data as an ndarray or ExtensionArray.

Returns
numpy.ndarray or ExtensionArray

Flattened data of the Series.

See also

numpy.ndarray.ravel

Return a flattened array.