usse/scrape/venv/lib/python3.10/site-packages/pandas/_libs/algos.pxd
2023-12-22 15:26:01 +01:00

23 lines
440 B
Cython

from pandas._libs.dtypes cimport (
numeric_object_t,
numeric_t,
)
cdef numeric_t kth_smallest_c(numeric_t* arr, Py_ssize_t k, Py_ssize_t n) nogil
cdef enum TiebreakEnumType:
TIEBREAK_AVERAGE
TIEBREAK_MIN,
TIEBREAK_MAX
TIEBREAK_FIRST
TIEBREAK_FIRST_DESCENDING
TIEBREAK_DENSE
cdef numeric_object_t get_rank_nan_fill_val(
bint rank_nans_highest,
numeric_object_t val,
bint is_datetimelike=*,
)