-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fixed accessor for Categorical[Datetime] #19469
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
BUG: Fixed accessor for Categorical[Datetime] #19469
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19469 +/- ##
==========================================
- Coverage 91.62% 91.59% -0.03%
==========================================
Files 150 150
Lines 48724 48728 +4
==========================================
- Hits 44642 44633 -9
- Misses 4082 4095 +13
Continue to review full report at Codecov.
|
Thanks, LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm other than minor point.
def test_dt_namespace_accessor_categorical(self): | ||
# GH 19468 | ||
dti = pd.DatetimeIndex(['20171111', '20181212']).repeat(2) | ||
s = pd.Series(pd.Categorical(dti), name='foo') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you not use pd.
here where we don't elsewhere
lgtm. merge on green. |
* BUG: Fixed accessor for Categorical[Datetime] * Fixup
Closes #19468
No release note, since this was only a regression on master.
cc @jschendel.