Skip to content

CLN: Add tets and fix docstring for concat with sort=True and outer join #47612

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 1 commit into from
Jul 7, 2022

Conversation

phofl
Copy link
Member

@phofl phofl commented Jul 6, 2022

cc @simonjayhawkins

Added a couple of tests and fixed the docstring

@phofl phofl changed the title Add tets and fix docstring CLN: Add tets and fix docstring for concat with sort=True and outer join Jul 6, 2022
@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Reshaping Concat, Merge/Join, Stack/Unstack, Explode Dtype Conversions Unexpected or buggy dtype conversions labels Jul 7, 2022
@mroeschke mroeschke added this to the 1.5 milestone Jul 7, 2022
@mroeschke mroeschke merged commit 2141c1c into pandas-dev:main Jul 7, 2022
@mroeschke
Copy link
Member

Thanks @phofl

@@ -233,6 +233,7 @@ def _unique_indices(inds, dtype) -> Index:
Parameters
----------
inds : list of Index or list objects
dtype : dtype to set for the resulting Index
Copy link
Member

Choose a reason for hiding this comment

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

above, it still says The final dtype is inferred.

Is this still true? It is a positional arg and not an optional kwarg, but we can explicitly pass None to get inference?

Copy link
Member Author

@phofl phofl Jul 8, 2022

Choose a reason for hiding this comment

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

Sorry, yeah if None is passed then we infer, should update docstring to reflect this

@phofl phofl deleted the 47329_tests branch July 8, 2022 20:05
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dtype Conversions Unexpected or buggy dtype conversions Reshaping Concat, Merge/Join, Stack/Unstack, Explode Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants