-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
CLN/ERR: str.cat internals #22725
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
CLN/ERR: str.cat internals #22725
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5f8890c
CLN: str.cat internals
h-vetinari 285a1f7
Review (jreback)
h-vetinari 28e7859
Refactor interleave_sep to use np.sum
h-vetinari 807f18e
Lint; more consistent naming for masks
h-vetinari ed27c66
Add comment
h-vetinari 0d3c6d2
Review (WillAyd)
h-vetinari 36c6240
Review (WillAyd)
h-vetinari a97fe67
Add np-compat
h-vetinari e58ec9d
Revert using more idiomatic code due to perf
h-vetinari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add comment
- Loading branch information
commit ed27c663681f2e0112109d74f8d450eb56218601
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Perhaps as a follow up but if the alignment behavior is going to be scattered across these two methods would probably make more sense as a dedicated private method which can be called rather than having various arguments trigger the behavior in various functions
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.
You've got a point, and actually that line is not necessary anymore after I introduced the
if any(...)
condition right below.Just as a comment about doing things in different places:
_get_series_list
will transform everything without an index (i.e. lists/ndarray/iterators) into Series which inherit the index of the caller. This is a necessary step to be able to talk about alignment of indexes at all (second step).