Skip to content

Change mylen function to account for NaN empty lists when exploding on multiple columns #46791

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

Closed
wants to merge 11 commits into from

Conversation

ehariri
Copy link

@ehariri ehariri commented Apr 16, 2022

@mroeschke
Copy link
Member

Thanks for the pull request. Doesn't this fix relate to an existing issue? Can you demonstrate the behavior before/after fix?

@ehariri ehariri changed the title Change mylen function to account for empty lists Change mylen function to account for NaN empty lists when exploding on multiple columns Apr 16, 2022
@jreback jreback added the Reshaping Concat, Merge/Join, Stack/Unstack, Explode label Apr 17, 2022
Copy link
Member

@rhshadrach rhshadrach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a whatsnew note?

@@ -223,9 +223,15 @@ def test_explode_sets():


@pytest.mark.parametrize(
"input_subset, expected_dict, expected_index",
"input_dict, input_index, input_subset, expected_dict, expected_index",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make new tests? This is really hard to review

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, can you add a whatsnew note. bug fixes for 1.5, in the reshaping section.

@jreback jreback added this to the 1.5 milestone Apr 30, 2022
@jreback jreback added the Bug label Apr 30, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2022

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Jun 9, 2022
@mroeschke mroeschke removed this from the 1.5 milestone Aug 1, 2022
@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Reshaping Concat, Merge/Join, Stack/Unstack, Explode Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DataFrame.explode incomplete support on multiple columns with NaN or empty lists
6 participants