Inzynierka_Gwiazdy/machine_learning/Lib/site-packages/pandas/_libs/algos.pxd

23 lines
440 B
Cython
Raw Normal View History

2023-09-20 19:46:58 +02: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=*,
)