We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Components of DatetimeIndex that is tz-aware should be based on local not UTC time
Steps/Code to reproduce bug
In [1]: from cudf import * In [2]: ts = ["2008-05-12 13:50:00", "2008-12-12 14:50:35", "2009-05-12 13:50:32"] ...: tt = DatetimeIndex(ts).tz_localize("UTC") In [5]: ut = tt.tz_convert("US/Eastern") In [6]: ut Out[6]: DatetimeIndex(['2008-05-12 09:50:00-04:00', '2008-12-12 09:50:35-05:00', '2009-05-12 09:50:32-04:00'], dtype='datetime64[ns, US/Eastern]') In [7]: ut.hour Out[7]: Int16Index([13, 14, 13], dtype='int16')
Expected behavior
In [7]: ut.hour Out[7]: Int16Index([9, 9, 9], dtype='int16')
Environment overview (please complete the following information)
docker pull
docker run
Environment details Please run and paste the output of the cudf/print_env.sh script here, to gather any other relevant environment details
cudf/print_env.sh
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
mroeschke
No branches or pull requests
Describe the bug
Components of DatetimeIndex that is tz-aware should be based on local not UTC time
Steps/Code to reproduce bug
Expected behavior
Environment overview (please complete the following information)
docker pull
&docker run
commands usedEnvironment details
Please run and paste the output of the
cudf/print_env.sh
script here, to gather any other relevant environment detailsAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: