Skip to content
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

Linux Pandas.date_range doesn't include 02 AM even for utc tz #755

Open
jtnguyen2020 opened this issue Dec 15, 2023 · 0 comments
Open

Linux Pandas.date_range doesn't include 02 AM even for utc tz #755

jtnguyen2020 opened this issue Dec 15, 2023 · 0 comments

Comments

@jtnguyen2020
Copy link

Describe the bug
pd.date_range(start='2024-01-01', end='2024-12-31', freq='5T', tz='UTC', name='start_dt')

above doesn't include 2024-03-10 02:00:00 thru 2024-03-10 02:55:00

To Reproduce
import pandas as pd
pd.date_range(start='2024-01-01', end='2024-12-31', freq='5T', tz='UTC', name='start_dt')

Expected behavior
If I used utc as timezone, it should include 2024-03-10 02:00:00 thru 2024-03-10 02:55:00

Versions (please complete the following information):

  • Python: [e.g. 3.11.2]
  • pandas - [2.0.4] - actually any versions

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant