PERF: avoid unnecessary copy
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Should this go into 2.3? No

On Tue, Aug 27, 2024 at 3:56 PM Matthew Roeschke ***@***.***>
wrote:

> Should this go into 2.3?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/pandas-dev/pandas/pull/59630#issuecomment-2313709535>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AB5UM6ALVBSJDQFWESNWLUDZTT7YBAVCNFSM6AAAAABNG6LSAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJTG4YDSNJTGU>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
 Thanks @jbrockmendel 