Skip to content

BUG: fix bug where appending unordered CategoricalIndex variables overrides index #47841

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 2 commits into from
Aug 16, 2022

Conversation

GivyBoy
Copy link
Contributor

@GivyBoy GivyBoy commented Jul 24, 2022

@GivyBoy GivyBoy marked this pull request as ready for review July 26, 2022 18:58
@mroeschke mroeschke added the Categorical Categorical Data Type label Jul 26, 2022
@GivyBoy GivyBoy changed the title updated the code in accordance with GH24845 BUG: fix bug where appending unordered CategoricalIndex variables overrides index Jul 31, 2022
@GivyBoy GivyBoy requested a review from jreback August 1, 2022 13:12
@GivyBoy
Copy link
Contributor Author

GivyBoy commented Aug 8, 2022

Hi @mroeschke or @jreback, I would love to have some feedback on this PR. Thanks a lot!

@GivyBoy GivyBoy force-pushed the GH24845v2 branch 3 times, most recently from a3ded27 to 12367c0 Compare August 9, 2022 03:00
@GivyBoy GivyBoy requested a review from mroeschke August 12, 2022 13:44
@GivyBoy GivyBoy force-pushed the GH24845v2 branch 5 times, most recently from 945ec66 to b4a18b6 Compare August 12, 2022 20:31
@GivyBoy
Copy link
Contributor Author

GivyBoy commented Aug 12, 2022

Hi @mroeschke, I have made the edits. I thought something was wrong with my commit, then I realized that a PR was merged with the same three errors. Could you explain, if possible, why this is happening? Thanks!

@GivyBoy GivyBoy requested a review from mroeschke August 12, 2022 22:43
@mroeschke
Copy link
Member

Hi @mroeschke, I have made the edits. I thought something was wrong with my commit, then I realized that a PR was merged with the same three errors. Could you explain, if possible, why this is happening? Thanks!

We had some unrelated CI issues lately. Could you merge in main once more?

@GivyBoy
Copy link
Contributor Author

GivyBoy commented Aug 16, 2022

Hi @mroeschke! I merged and I am receiving errors that I'm not receiving when I run the tests on my local machine.

@mroeschke
Copy link
Member

mroeschke commented Aug 16, 2022

Hi @mroeschke! I merged and I am receiving errors that I'm not receiving when I run the tests on my local machine.

We're experience a similar error on main that is affecting all builds. Merging one more time should fix it.

@GivyBoy
Copy link
Contributor Author

GivyBoy commented Aug 16, 2022

It passed all test cases, @mroeschke. Thanks a lot for your guidance!

@mroeschke mroeschke added this to the 1.5 milestone Aug 16, 2022
@mroeschke mroeschke merged commit c7b470c into pandas-dev:main Aug 16, 2022
@mroeschke
Copy link
Member

mroeschke commented Aug 16, 2022

Thanks for sticking with all the reviews and being responsive @GivyBoy!

YYYasin19 pushed a commit to YYYasin19/pandas that referenced this pull request Aug 23, 2022
… overrides index (pandas-dev#47841)

BUG: fix bug where appending unordered ``CategoricalIndex`` variables overrides index (pandas-dev#24845)
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
… overrides index (pandas-dev#47841)

BUG: fix bug where appending unordered ``CategoricalIndex`` variables overrides index (pandas-dev#24845)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Categorical Categorical Data Type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Concatenating unordered CategoricalIndex overrides indices
3 participants