pandas.MultiIndex.to_flat_index

pandas 3.1.1 · Index objects · method

Convert MultiIndex entries into an ordinary Index of tuples.

Call syntax

MultiIndex.to_flat_index()

Run the example

Edit the example and select Run Python to see the result.

Parameters

This call takes no arguments.

Returns

pd.Index