docs: def to_index_variable(self):
          """Return this variable as an xarray.IndexVariable"""
          return IndexVariable(self.dims, self._data, self._attrs,
                               encoding=self._encoding, fastpath=True)