We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In [110]: x = Timestamp('20130101')
Last day of month
In [111]: pd.tslib.monthrange(x.year,x.month)[1]==x.day Out[111]: False
First day of month
In [112]: x.day==1 Out[112]: True
First day of year
In [113]: x.day==1 & x.month==1 Out[113]: True
http://stackoverflow.com/questions/18233107/pandas-convert-datetime-to-end-of-month/18233876?noredirect=1#comment26732170_18233876
The text was updated successfully, but these errors were encountered:
API: add is_beg_month/quarter/year, is_end_month/quarter/year accesso…
bcf7f0d
…rs (pandas-dev#4565)
Successfully merging a pull request may close this issue.
Last day of month
First day of month
First day of year
http://stackoverflow.com/questions/18233107/pandas-convert-datetime-to-end-of-month/18233876?noredirect=1#comment26732170_18233876
The text was updated successfully, but these errors were encountered: