-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Add "day of month" (e.g., 15th of month) frequencies, easier extension? #2289
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
Comments
Do you know if there has been any movement on this at all since it was identified? The data I am looking at has bursts of activity monthly that aligns on the last day and 1st days of the month so month-over-month analysis would benefit considerably from being able to offset by X days to get mid-month reports. Thanks! |
@poswald this is not a solution, but a straightforward way to create the day-of-month index (its still not the right frequency), but still may work for what you need
|
Also, it appears that you cannot even shift a PeriodIndex after constructing it, but what's puzzling is that the shift method's documentation states a 'freq' parameter which is missing from the method's signature. Specifically:
|
Related: #1573 Have there been any developments related to "day of month" frequencies? |
We have an implementation of On another note, we are missing documentation of WOM and LWOM (last-week-of-month) in the main docs (at least a reference http://pandas.pydata.org/pandas-docs/stable/timeseries.html?highlight=weekofmonth#offset-aliases would be good (and a small example on usage) if you'd like to do a PR. |
http://stackoverflow.com/questions/13445174/date-ranges-in-pandas
The text was updated successfully, but these errors were encountered: