You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p = pandas.Period('2012', freq='M')
p.end_time
<Timestamp: 2012-01-31 00:00:00>
This is the start of the last day of the month. So if one were using this in code, you could erroneously find that any datetime on January 31st is after the end of the month of January, for example:
yeah for W or longer the end_time returns the last day. Originally I thought this was closer to common usage cases which I made it that way. Though perhaps it's better to make the default nanosecond resolution and use to_timestamp to explicitly convert to other frequencies.
For example:
This is the start of the last day of the month. So if one were using this in code, you could erroneously find that any datetime on January 31st is after the end of the month of January, for example:
The text was updated successfully, but these errors were encountered: