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

Remove old-style resample example in documentation #2543

Merged
merged 1 commit into from
Nov 5, 2018
Merged
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
11 changes: 0 additions & 11 deletions doc/time-series.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,6 @@ and ``interpolate``. ``interpolate`` extends ``scipy.interpolate.interp1d`` and
supports all of its schemes. All of these resampling operations work on both
Dataset and DataArray objects with an arbitrary number of dimensions.

.. note::

The ``resample`` api was updated in version 0.10.0 to reflect similar
updates in pandas ``resample`` api to be more groupby-like. Older style
calls to ``resample`` will still be supported for a short period:

.. ipython:: python

ds.resample('6H', dim='time', how='mean')


For more examples of using grouped operations on a time dimension, see
:ref:`toy weather data`.

Expand Down