Skip to content

Commit

Permalink
Merge branch 'docs_internal_design' into docs_interoperability
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Jul 17, 2023
2 parents e688526 + 1e98361 commit 3ad0722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/internals/internal-design.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ This is why most users never see the ``Variable`` class underlying each coordina
Lookups are performed by special :py:class:`~xarray.indexes.Index` objects, which are stored in a dict under the private ``_indexes`` attribute.
Indexes must be associated with one or more coordinates, and essentially act by translating a query given in physical coordinate space
(typically via the :py:meth:`~xarray.DataArray.sel` method) into a set of integer indices in array index space that can be used to index the underlying n-dimensional array-like ``data``.
Indexing in array index space (typically performed via the :py:meth:`~xarray.DataArray.sel` method) does not require consulting an ``Index`` object.
Indexing in array index space (typically performed via the :py:meth:`~xarray.DataArray.isel` method) does not require consulting an ``Index`` object.

Finally a :py:class:`~xarray.DataArray` defines a :py:attr:`~xarray.DataArray.name` attribute, which refers to its data
variable but is stored on the wrapping ``DataArray`` class.
Expand Down

0 comments on commit 3ad0722

Please sign in to comment.