This commit is contained in:
2025-09-07 22:09:54 +02:00
parent e1b817252c
commit 2fc0d000b6
7796 changed files with 2159515 additions and 933 deletions

View File

@ -0,0 +1,44 @@
import numpy as np
def check_array_indexer(arrayArrayLike, indexer): ...
class BaseIndexer:
def __init__(
self,
index_array: np.ndarray | None = ...,
window_size: int = ...,
**kwargs,
) -> None: ...
def get_window_bounds(
self,
num_values: int = ...,
min_periods: int | None = ...,
center: bool | None = ...,
closed: str | None = ...,
) -> tuple[np.ndarray, np.ndarray]: ...
class VariableOffsetWindowIndexer(BaseIndexer):
def __init__(
self,
index_array: np.ndarray | None = ...,
window_size: int = ...,
index=...,
offset=...,
**kwargs,
) -> None: ...
def get_window_bounds(
self,
num_values: int = ...,
min_periods: int | None = ...,
center: bool | None = ...,
closed: str | None = ...,
) -> tuple[np.ndarray, np.ndarray]: ...
class FixedForwardWindowIndexer(BaseIndexer):
def get_window_bounds(
self,
num_values: int = ...,
min_periods: int | None = ...,
center: bool | None = ...,
closed: str | None = ...,
) -> tuple[np.ndarray, np.ndarray]: ...