missing.pyi 591 B

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