Inzynierka/Lib/site-packages/pandas/_libs/tslibs/conversion.pyi

15 lines
275 B
Python
Raw Permalink Normal View History

2023-06-02 12:51:02 +02:00
from datetime import (
datetime,
tzinfo,
)
import numpy as np
DT64NS_DTYPE: np.dtype
TD64NS_DTYPE: np.dtype
def precision_from_unit(
unit: str,
) -> tuple[int, int]: ... # (int64_t, _)
def localize_pydatetime(dt: datetime, tz: tzinfo | None) -> datetime: ...