bigframes.pandas.MultiIndex.get_level_values#
- MultiIndex.get_level_values(level) Index#
Return an Index of values for requested level.
This is primarily useful to get an individual level of values from a MultiIndex, but is provided on Index as well for compatibility.
Examples:
>>> idx = bpd.Index(list('abc')) >>> idx Index(['a', 'b', 'c'], dtype='string')
Get level values by supplying level as integer:
>>> idx.get_level_values(0) Index(['a', 'b', 'c'], dtype='string')