-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
DOC: Added an example for each series.dt field accessor #33259
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
DOC: Added an example for each series.dt field accessor #33259
Conversation
simonjayhawkins
left a comment
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.
Thanks @MomIsBestFriend lgtm pending green
agreed. |
pandas/core/arrays/datetimes.py
Outdated
| Examples | ||
| -------- | ||
| >>> datetime_series = pd.Series( | ||
| ... pd.date_range("2000-01-01", periods=3, freq="m") |
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.
This example can be fine, but this example produced a datetimes spaced by month end instead of minute. Was this the intention?
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.
@mroeschke Thank you, fixed.
…-core-arrays-datetimes
…-core-arrays-datetimes
…-core-arrays-datetimes
|
thanks @MomIsBestFriend |
black pandasgit diff upstream/master -u -- "*.py" | flake8 --diffI can also add examples that would cover, ````TimedeltaProperties
andPeriodProperties```, but I think that would be over verbose, wdyt?