/ lib / pandas / _libs / missing.pyi
missing.pyi
 1  import numpy as np
 2  from numpy import typing as npt
 3  
 4  class NAType:
 5      def __new__(cls, *args, **kwargs): ...
 6  
 7  NA: NAType
 8  
 9  def is_matching_na(
10      left: object, right: object, nan_matches_none: bool = ...
11  ) -> bool: ...
12  def isposinf_scalar(val: object) -> bool: ...
13  def isneginf_scalar(val: object) -> bool: ...
14  def checknull(val: object, inf_as_na: bool = ...) -> bool: ...
15  def isnaobj(arr: np.ndarray, inf_as_na: bool = ...) -> npt.NDArray[np.bool_]: ...
16  def isnaobj2d(arr: np.ndarray, inf_as_na: bool = ...) -> npt.NDArray[np.bool_]: ...
17  def is_numeric_na(values: np.ndarray) -> npt.NDArray[np.bool_]: ...
18  def is_float_nan(values: np.ndarray) -> npt.NDArray[np.bool_]: ...