From 83dc639359e1296168d3a55b0a03c3c5654949b6 Mon Sep 17 00:00:00 2001 From: Luke Manley Date: Wed, 2 Mar 2022 19:07:55 -0500 Subject: [PATCH] fix typo (#46206) --- pandas/_libs/window/aggregations.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/_libs/window/aggregations.pyx b/pandas/_libs/window/aggregations.pyx index 0689a4a6e75f0..8191084da924f 100644 --- a/pandas/_libs/window/aggregations.pyx +++ b/pandas/_libs/window/aggregations.pyx @@ -1323,13 +1323,13 @@ def roll_apply(object obj, def roll_weighted_sum( const float64_t[:] values, const float64_t[:] weights, int minp -) -> np.ndaray: +) -> np.ndarray: return _roll_weighted_sum_mean(values, weights, minp, avg=0) def roll_weighted_mean( const float64_t[:] values, const float64_t[:] weights, int minp -) -> np.ndaray: +) -> np.ndarray: return _roll_weighted_sum_mean(values, weights, minp, avg=1)