We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8e0a0 commit f528fedCopy full SHA for f528fed
pandas/_libs/tslibs/np_datetime.pxd
@@ -9,11 +9,6 @@ from numpy cimport (
9
)
10
11
12
-cdef enum Exact:
13
- INEXACT_MATH
14
- EXACT_MATCH
15
- NO_MATCH
16
-
17
# TODO(cython3): most of these can be cimported directly from numpy
18
cdef extern from "numpy/ndarrayobject.h":
19
ctypedef int64_t npy_timedelta
@@ -125,3 +120,9 @@ cdef int64_t convert_reso(
125
120
NPY_DATETIMEUNIT to_reso,
126
121
bint round_ok,
127
122
) except? -1
123
+
124
+cdef extern from "src/datetime/np_datetime_strings.h":
+ cdef enum Exact:
+ INEXACT_MATCH
+ EXACT_MATCH
128
+ NO_MATCH
0 commit comments