Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the unit-aware docs #84

Merged
merged 2 commits into from
Mar 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ DataArray
:toctree: generated/
:template: autosummary/accessor_attribute.rst

xarray.Dataset.pint.loc
xarray.DataArray.pint.loc

xarray.DataArray.pint.magnitude
xarray.DataArray.pint.units
Expand Down
8 changes: 4 additions & 4 deletions pint_xarray/accessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ def drop_sel(self, labels=None, *, errors="raise", **labels_kwargs):
def ffill(self, dim, limit=None):
"""unit-aware version of ffill

Like :py:meth:`DataArray.ffill` but without stripping the data units.
Like :py:meth:`xarray.DataArray.ffill` but without stripping the data units.

See Also
--------
Expand All @@ -984,7 +984,7 @@ def ffill(self, dim, limit=None):
def bfill(self, dim, limit=None):
"""unit-aware version of bfill

Like :py:meth:`DataArray.bfill` but without stripping the data units.
Like :py:meth:`xarray.DataArray.bfill` but without stripping the data units.

See Also
--------
Expand Down Expand Up @@ -1667,7 +1667,7 @@ def drop_sel(self, labels=None, *, errors="raise", **labels_kwargs):
def ffill(self, dim, limit=None):
"""unit-aware version of ffill

Like :py:meth:`Dataset.ffill` but without stripping the data units.
Like :py:meth:`xarray.Dataset.ffill` but without stripping the data units.

See Also
--------
Expand All @@ -1684,7 +1684,7 @@ def ffill(self, dim, limit=None):
def bfill(self, dim, limit=None):
"""unit-aware version of bfill

Like :py:meth:`Dataset.bfill` but without stripping the data units.
Like :py:meth:`xarray.Dataset.bfill` but without stripping the data units.

See Also
--------
Expand Down