-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Wrong order and ambiguous start point for some period values #36593
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
Labels
Duplicate Report
Duplicate issue or pull request
Comments
5 tasks
Hi, is this actually a duplication? >>>pd.period_range('1400-01-01', '1400-01-02', freq='6h')
PeriodIndex(['1400-01-01 00:00', '1400-01-01 06:00', '1400-01-01 12:00',
'1400-01-01 18:00', '1400-01-02 00:00'],
dtype='period[6H]', freq='6H') It seems to be normal though '1400' is also a pre epoch. Thanks! @phofl |
great close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Though sorted, '1350-01-01 23:00' still locates the first.
And why this starts at 00:00, but the former one starts at 23:00?
Thanks!
The text was updated successfully, but these errors were encountered: