xarray.IndexVariable.get_level_variable

IndexVariable.get_level_variable(level)[source]

Return a new IndexVariable from a given MultiIndex level.