From b3fd61f9b5c3486b186bab4572b1e5ec697c07e2 Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Wed, 31 May 2023 18:20:34 -0700 Subject: [PATCH] Removed unused argument from groupby cython impl --- pandas/_libs/groupby.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx index 94ed16d4794d8..796ebaca14c91 100644 --- a/pandas/_libs/groupby.pyx +++ b/pandas/_libs/groupby.pyx @@ -91,7 +91,7 @@ cdef float64_t median_linear_mask(float64_t* a, int n, uint8_t* mask) noexcept n a = tmp n -= na_count - result = calc_median_linear(a, n, na_count) + result = calc_median_linear(a, n) if na_count: free(a) @@ -128,7 +128,7 @@ cdef float64_t median_linear(float64_t* a, int n) noexcept nogil: a = tmp n -= na_count - result = calc_median_linear(a, n, na_count) + result = calc_median_linear(a, n) if na_count: free(a) @@ -136,7 +136,7 @@ cdef float64_t median_linear(float64_t* a, int n) noexcept nogil: return result -cdef float64_t calc_median_linear(float64_t* a, int n, int na_count) noexcept nogil: +cdef float64_t calc_median_linear(float64_t* a, int n) noexcept nogil: cdef: float64_t result