Skip to content

Commit 2fdcbb6

Browse files
djhoeseshoyer
authored andcommitted
Add note about accessor instance creation (#3209)
1 parent c782637 commit 2fdcbb6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/internals.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ reasons:
106106
functionality that clearly identifies it as separate from built-in xarray
107107
methods.
108108

109+
.. note::
110+
111+
Accessors are created once per DataArray and Dataset instance. New
112+
instances, like those created from arithmetic operations or when accessing
113+
a DataArray from a Dataset (ex. ``ds[var_name]``), will have new
114+
accessors created.
115+
109116
Back in an interactive IPython session, we can use these properties:
110117

111118
.. ipython:: python

0 commit comments

Comments
 (0)