-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: Unused imports in tslibs #26168
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
Conversation
pandas/_libs/tslibs/c_timestamp.pyx
Outdated
@@ -381,5 +379,5 @@ cdef class _Timestamp(datetime): | |||
|
|||
def timestamp(self): | |||
"""Return POSIX timestamp as float.""" | |||
# py27 compat, see GH#17329 | |||
# Note: tz-aware Timestamps will return a UTC-like timestamp |
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.
I think keeping the issue reference would be helpful. It is for naive timestamp that we don’t match the stdlib.
Codecov Report
@@ Coverage Diff @@
## master #26168 +/- ##
==========================================
- Coverage 91.98% 91.97% -0.01%
==========================================
Files 175 175
Lines 52377 52377
==========================================
- Hits 48180 48176 -4
- Misses 4197 4201 +4
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #26168 +/- ##
==========================================
- Coverage 91.98% 91.97% -0.01%
==========================================
Files 175 175
Lines 52377 52377
==========================================
- Hits 48180 48176 -4
- Misses 4197 4201 +4
Continue to review full report at Codecov.
|
thanks @mroeschke |
Removed unused imports in tslibs found via PyCharm.