Skip to content

BUG: Index([date]).astype("category").astype(object) roundtrip #38552

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

Merged
merged 4 commits into from
Dec 23, 2020

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

This also makes some MultiIndex constructor behavior consistent with Index behavior, with the side-effect of fixing the thorny cases in #36131

@jbrockmendel
Copy link
Member Author

Fixes #28152, though doesnt yet have a test for that

@jreback jreback added MultiIndex Datetime Datetime data dtype labels Dec 22, 2020
@jreback
Copy link
Contributor

jreback commented Dec 22, 2020

looks good. i guess this is technically a bug fix in 1.3? hard to tell.

@jbrockmendel
Copy link
Member Author

guess this is technically a bug fix in 1.3?

thats a fair description. ill add a note

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

Successfully merging this pull request may close these issues.

2 participants