pandas.api.typing.SeriesGroupBy.ohlc

pandas 3.1.1 · GroupBy · method

Compute open, high, low and close values within each group or time bin.

Call syntax

pd.api.typing.SeriesGroupBy.ohlc()

Run the example

Edit the example and select Run Python to see the result.

Parameters

This call takes no arguments.

Returns

DataFrame