You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
319 B
13 lines
319 B
1 year ago
|
import numpy as np
|
||
|
|
||
|
from pandas._typing import npt
|
||
|
|
||
|
def calculate_variable_window_bounds(
|
||
|
num_values: int, # int64_t
|
||
|
window_size: int, # int64_t
|
||
|
min_periods,
|
||
|
center: bool,
|
||
|
closed: str | None,
|
||
|
index: np.ndarray, # const int64_t[:]
|
||
|
) -> tuple[npt.NDArray[np.int64], npt.NDArray[np.int64]]: ...
|