pandas.Index.ravel
pandas 3.1.1 · Index objects · method
Return a one-dimensional view of the Index itself.
Call syntax
Index.ravel(order='C')Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
order |
Optional Positional or keyword Default 'C' |
{'K', 'A', 'C', 'F'} Specify the order in which levels or values should appear. |
Returns
Index