ai-content-maker/.venv/Lib/site-packages/pandas/_libs/algos.pxd

23 lines
440 B
Cython
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
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=*,
)