mirror of
https://github.com/kristoferssolo/School.git
synced 2025-10-21 20:10:38 +00:00
11 lines
314 B
Python
11 lines
314 B
Python
import numpy as np
|
|
|
|
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[np.ndarray, np.ndarray,]: ... # np.ndarray[np.int64] # np.ndarray[np.int64]
|