Traktor/myenv/Lib/site-packages/pandas/_libs/tslibs/conversion.pyi

15 lines
300 B
Python
Raw Normal View History

2024-05-23 01:57:24 +02:00
from datetime import (
datetime,
tzinfo,
)
import numpy as np
DT64NS_DTYPE: np.dtype
TD64NS_DTYPE: np.dtype
def localize_pydatetime(dt: datetime, tz: tzinfo | None) -> datetime: ...
def cast_from_unit_vectorized(
values: np.ndarray, unit: str, out_unit: str = ...
) -> np.ndarray: ...