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
This isn't a huge deal, but popped up adding tests for #14173
Works fine with plain datetimes
In [9]: dti = pd.date_range('2014-01-01', '2014-01-05') In [10]: pd.Categorical(pd.Categorical(dti)) Out[10]: [2014-01-01, 2014-01-02, 2014-01-03, 2014-01-04, 2014-01-05] Categories (5, datetime64[ns]): [2014-01-01, 2014-01-02, 2014-01-03, 2014-01-04, 2014-01-05]
Does not with a tz
In [11]: dti = pd.date_range('2014-01-01', '2014-01-05', tz='US/Central') In [12]: pd.Categorical(pd.Categorical(dti)) Out[12]: [NaT, NaT, NaT, NaT, NaT] Categories (5, datetime64[ns, US/Central]): [2014-01-01 00:00:00-06:00, 2014-01-02 00:00:00-06:00, 2014-01-03 00:00:00-06:00, 2014-01-04 00:00:00-06:00, 2014-01-05 00:00:00-06:00]
The text was updated successfully, but these errors were encountered:
I'll take a look at this.
Sorry, something went wrong.
@rforgione #14191 seems to have this covered
ah got it, cool -- thanks @jreback .
939a221
Successfully merging a pull request may close this issue.
This isn't a huge deal, but popped up adding tests for #14173
Works fine with plain datetimes
Does not with a tz
The text was updated successfully, but these errors were encountered: