pandas / 1 / reference / api / pandas.series.ravel.html

pandas.Series.ravel

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

Return the flattened underlying data as an ndarray.

Returns
numpy.ndarray or ndarray-like

Flattened data of the Series.

See also

numpy.ndarray.ravel

Return a flattened array.

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.Series.ravel.html