Skip to content

Conversation

jbrockmendel
Copy link
Member

Sits on top of #52291. Mostly a refactor making Concatenator.__init__ less stateful, makes some of the annotations more accurate. A bit of a performance improvement from avoiding a _get_concat_axis in some cases. Makes it easier to spot in profiling where more overhead can be trimmed going forward.

@mroeschke mroeschke added Performance Memory or execution speed performance Reshaping Concat, Merge/Join, Stack/Unstack, Explode Typing type annotations, mypy/pyright type checking labels Apr 3, 2023
@mroeschke mroeschke added this to the 2.1 milestone Apr 3, 2023
@mroeschke mroeschke merged commit 996bd11 into pandas-dev:main Apr 3, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the perf-concat-2 branch April 3, 2023 22:36
topper-123 pushed a commit to topper-123/pandas that referenced this pull request Apr 6, 2023
* PERF: concat

* REF/PERF: pd.concat

* mypy fixup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Performance Memory or execution speed performance Reshaping Concat, Merge/Join, Stack/Unstack, Explode Typing type annotations, mypy/pyright type checking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants