Skip to content

Commit

Permalink
fix typo (pandas-dev#46206)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemanley authored Mar 3, 2022
1 parent 0ccad38 commit 83dc639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/_libs/window/aggregations.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 83dc639

Please sign in to comment.