mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-03 14:49:07 +00:00
first commit
This commit is contained in:
29
.venv/Lib/site-packages/pandas/_libs/tslibs/conversion.pyi
Normal file
29
.venv/Lib/site-packages/pandas/_libs/tslibs/conversion.pyi
Normal file
@ -0,0 +1,29 @@
|
||||
from datetime import (
|
||||
datetime,
|
||||
tzinfo,
|
||||
)
|
||||
|
||||
import numpy as np
|
||||
|
||||
from pandas._typing import npt
|
||||
|
||||
DT64NS_DTYPE: np.dtype
|
||||
TD64NS_DTYPE: np.dtype
|
||||
|
||||
class OutOfBoundsTimedelta(ValueError): ...
|
||||
|
||||
def precision_from_unit(
|
||||
unit: str,
|
||||
) -> tuple[int, int,]: ... # (int64_t, _)
|
||||
def ensure_datetime64ns(
|
||||
arr: np.ndarray, # np.ndarray[datetime64[ANY]]
|
||||
copy: bool = ...,
|
||||
) -> np.ndarray: ... # np.ndarray[datetime64ns]
|
||||
def ensure_timedelta64ns(
|
||||
arr: np.ndarray, # np.ndarray[timedelta64[ANY]]
|
||||
copy: bool = ...,
|
||||
) -> np.ndarray: ... # np.ndarray[timedelta64ns]
|
||||
def datetime_to_datetime64(
|
||||
values: npt.NDArray[np.object_],
|
||||
) -> tuple[np.ndarray, tzinfo | None,]: ... # (np.ndarray[dt64ns], _)
|
||||
def localize_pydatetime(dt: datetime, tz: tzinfo | None) -> datetime: ...
|
Reference in New Issue
Block a user