mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-03 14:49:07 +00:00
first commit
This commit is contained in:
30
.venv/Lib/site-packages/pandas/_libs/tslibs/timestamps.pxd
Normal file
30
.venv/Lib/site-packages/pandas/_libs/tslibs/timestamps.pxd
Normal file
@ -0,0 +1,30 @@
|
||||
from cpython.datetime cimport (
|
||||
datetime,
|
||||
tzinfo,
|
||||
)
|
||||
from numpy cimport int64_t
|
||||
|
||||
from pandas._libs.tslibs.base cimport ABCTimestamp
|
||||
from pandas._libs.tslibs.np_datetime cimport npy_datetimestruct
|
||||
|
||||
|
||||
cdef object create_timestamp_from_ts(int64_t value,
|
||||
npy_datetimestruct dts,
|
||||
tzinfo tz, object freq, bint fold)
|
||||
|
||||
|
||||
cdef class _Timestamp(ABCTimestamp):
|
||||
cdef readonly:
|
||||
int64_t value, nanosecond
|
||||
object _freq
|
||||
|
||||
cdef bint _get_start_end_field(self, str field, freq)
|
||||
cdef _get_date_name_field(self, str field, object locale)
|
||||
cdef int64_t _maybe_convert_value_to_local(self)
|
||||
cdef bint _can_compare(self, datetime other)
|
||||
cpdef to_datetime64(self)
|
||||
cpdef datetime to_pydatetime(_Timestamp self, bint warn=*)
|
||||
cdef bint _compare_outside_nanorange(_Timestamp self, datetime other,
|
||||
int op) except -1
|
||||
cpdef void _set_freq(self, freq)
|
||||
cdef _warn_on_field_deprecation(_Timestamp self, freq, str field)
|
Reference in New Issue
Block a user