code: def _finalize_indexing_result(self, dims, data):
          
          return type(self)(dims, data, self._attrs, self._encoding,
                            fastpath=True)
docs: Used by IndexVariable to return IndexVariable objects when possible.