Skip to content

Commit 6032383

Browse files
committed
Add cross-reference per suggestion.
1 parent 0f12481 commit 6032383

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/data-structures.rst

+2
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ setting) variables and attributes:
353353
This is particularly useful in an exploratory context, because you can
354354
tab-complete these variable names with tools like IPython.
355355

356+
.. _dictionary_like_methods:
357+
356358
Dictionary like methods
357359
~~~~~~~~~~~~~~~~~~~~~~~
358360

doc/howdoi.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ How do I ...
1212
* - How do I...
1313
- Solution
1414
* - add a DataArray to my dataset as a new variable
15-
- ``my_dataset[varname] = my_dataArray`` or :py:meth:`Dataset.assign`
15+
- ``my_dataset[varname] = my_dataArray`` or :py:meth:`Dataset.assign`[#assign_dict]_
1616
* - add variables from other datasets to my dataset
1717
- :py:meth:`Dataset.merge`
1818
* - add a new dimension and/or coordinate
@@ -59,3 +59,7 @@ How do I ...
5959
- ``obj.dt.ceil``, ``obj.dt.floor``, ``obj.dt.round``. See :ref:`dt_accessor` for more.
6060
* - make a mask that is ``True`` where an object contains any of the values in a array
6161
- :py:meth:`Dataset.isin`, :py:meth:`DataArray.isin`
62+
63+
.. rubric:: Footnotes
64+
65+
.. [#assign_dict] See also :ref:`_dictionary_like_methods`:.

0 commit comments

Comments
 (0)