pandas / 1.4.0 / reference / api / pandas.index.ravel.html /

pandas.Index.ravel

final Index. ravel ( order='C' ) [source]

Return an ndarray of the flattened values of the underlying data.

Returns
numpy.ndarray

Flattened array.

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.4.0/reference/api/pandas.Index.ravel.html