-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Implement npy_dtime.pyx #17805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement npy_dtime.pyx #17805
Changes from 1 commit
53ec4d1
67b3ec3
76cad9a
ce7197d
a1f8fc1
e4ce186
a345836
c0b399e
1791389
16603d4
09a6f19
c05cec7
c0b8216
a9ca0b4
c3a1ce9
7ac9615
e017a52
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ class OutOfBoundsDatetime(ValueError): | |
pass | ||
|
||
|
||
cdef inline check_dts_bounds(pandas_datetimestruct *dts): | ||
cdef inline _check_dts_bounds(pandas_datetimestruct *dts): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so this should be de-privatized There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Happy to do it since that's how it was before: #17805 (comment) |
||
"""Returns True if an error needs to be raised""" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you add a doc-string, and change this (which is wrong), it will just raise if there is an oob date |
||
cdef: | ||
bint error = False | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where these nogil before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The analogous src/datetime functions are, yes.