School/.venv/lib/python3.9/site-packages/pandas/_libs/tslib.pyi
Kristofers Solo 1e065cc4b2 Updated .venv
2021-11-22 17:11:45 +02:00

27 lines
724 B
Python

from datetime import tzinfo
import numpy as np
def format_array_from_datetime(
values: np.ndarray, # np.ndarray[np.int64]
tz: tzinfo | None = ...,
format: str | None = ...,
na_rep: object = ...,
) -> np.ndarray: ... # np.ndarray[object]
def array_with_unit_to_datetime(
values: np.ndarray,
unit: str,
errors: str = ...,
) -> tuple[np.ndarray, tzinfo | None]: ...
def array_to_datetime(
values: np.ndarray, # np.ndarray[object]
errors: str = ...,
dayfirst: bool = ...,
yearfirst: bool = ...,
utc: bool = ...,
require_iso8601: bool = ...,
allow_mixed: bool = ...,
) -> tuple[np.ndarray, tzinfo | None]: ...
# returned ndarray may be object dtype or datetime64[ns]