xarray.IndexVariable.get_level_variable

IndexVariable.get_level_variable(self, level)

Return a new IndexVariable from a given MultiIndex level.