Skip to content

Commit daacf51

Browse files
committed
Provide new object for copy routines requiring info. on its destination.
1 parent 5f06272 commit daacf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6114,7 +6114,7 @@ def __finalize__(self, other, method: str | None = None, **kwargs) -> Self:
61146114
# of an empty dict is 50x more expensive than the empty check.
61156115
# We provide the new dataset via the deepcopy memo to properly
61166116
# supply eventual attribute copy routines requiring information
6117-
# from its destination
6117+
# from its destination.
61186118
self.attrs = deepcopy(other.attrs, memo={object(): self})
61196119
self.flags.allows_duplicate_labels = (
61206120
self.flags.allows_duplicate_labels

0 commit comments

Comments
 (0)