strptime.pyi 349 B

1234567891011121314
  1. import numpy as np
  2. from pandas._typing import npt
  3. def array_strptime(
  4. values: npt.NDArray[np.object_],
  5. fmt: str | None,
  6. exact: bool = ...,
  7. errors: str = ...,
  8. utc: bool = ...,
  9. creso: int = ..., # NPY_DATETIMEUNIT
  10. ) -> tuple[np.ndarray, np.ndarray]: ...
  11. # first ndarray is M8[ns], second is object ndarray of tzinfo | None