-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC: add FAQ about np.datetime64 #5625
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
and of course I targeted this at the wrong branch. |
@@ -14,6 +14,35 @@ How-To | |||
Plotting: howto | |||
=============== | |||
|
|||
.. _howto-datetime64 |
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 this needs a colon at the end of the line.
ac44efe
to
39cc982
Compare
fixed and force pushed |
from pandas.tseries import converter as pdtc | ||
pdtc.register() | ||
|
||
If you only want to use `pandas` converter for `datetime64` values :: |
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.
use the
Don't you need double-backticks for code samples in reST? |
Single backticks to their best to auto-resolve to a link to something else in the docs, double ticks just sets it in mono-typewriter. |
@tacaswell, my quick testing confirms your initial comment: importing pandas is sufficient. |
39cc982
to
00796b2
Compare
Typo fixed and squashed. |
DOC: add FAQ about np.datetime64
Should be backported? |
DOC: add FAQ about np.datetime64
Backported to v2.x via e2fd2aa. |
I would appreciate if someone else checked to make sure I am not lying here, but with up-to-date everything, datetime64 seems to 'just work' so long as
pandas
has been imported.