Spec-Zone.ru › pandas 1

pandas.api.indexers.FixedForwardWindowIndexer.get_window_bounds

FixedForwardWindowIndexer.get_window_bounds(num_values=0, min_periods=None, center=None, closed=None, step=None)[source]

Computes the bounds of a window.

Parameters
num_values:int, default 0

number of values that will be aggregated over

window_size:int, default 0

the number of rows in a window

min_periods:int, default None

min_periods passed from the top level rolling API

center:bool, default None

center passed from the top level rolling API

closed:str, default None

closed passed from the top level rolling API

step:int, default None

step passed from the top level rolling API .. versionadded:: 1.5

win_type:str, default None

win_type passed from the top level rolling API

Returns
A tuple of ndarray[int64]s, indicating the boundaries of each
window

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.api.indexers.FixedForwardWindowIndexer.get_window_bounds.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API