Skip to content

Commit 8948f49

Browse files
author
Chang She
committed
DOC: string args to how in resample #1355
1 parent 071d43a commit 8948f49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/source/timeseries.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,10 @@ and array and produces an aggregated values:
596596
597597
ts.resample('5Min', how=np.max)
598598
599+
Any function available via :ref:`dispatching <groupby.dispatch>` can be given to
600+
the ``how`` parameter by name, including ``sum``, ``mean``, ``std``, ``max``,
601+
``min``, ``median``, ``first``, ``last``, ``ohlc``.
602+
599603
For downsampling, ``closed`` can be set to 'left' or 'right' to specify which
600604
end of the interval is closed:
601605

0 commit comments

Comments
 (0)