-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
please add quick documentation on pandas timestamp values of month, day of week #5813
Comments
would surely take a PRto document these are the python conventions in any event |
related is #5519 |
It was added by #4706 and then subsequently removed to use the doc strings directly. @jorisvandenbossche, how does one document these methods/properties? Does one just need to add a weekday.doc? In tseries.index
|
@rockg Yes, I converted the manual list to a sphinx autosummary table, so it would also use the docstring. However, I did not get to the addition of the docstring. I will do now. |
As a summary regarding this issue:
|
I think is for sure worthwhile to explain Timestamp a bit for in timeseries.rst (and maybe a mention in basics/10min, but meat in Timeseries) (doesn't preclude your other buckets though ) |
related #3324 |
#6380 closed this |
Pandas appears to use values for timestamp fields where 1 = January, 2 = February, etc., (vs. 0 = January) and 0 = Monday, 1 = Tuesday, 2 = Wednesday, 3 = Thursday, 4 = Friday, 5 = Saturday, 6 = Sunday. (vs. weekday numbering that starts with 1 instead of 0, or Sunday instead of Monday.)
prints 0 in my system (Mac OSX + pandas 0.12.0)
This convention doesn't appear to be in the documentation + it would really help as it is one of several possibilities.
The text was updated successfully, but these errors were encountered: