We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29ae903 commit 51fd9a7Copy full SHA for 51fd9a7
modin/pandas/series.py
@@ -2925,6 +2925,11 @@ def set_backend(
2925
*,
2926
switch_operation: Optional[str] = None,
2927
) -> Optional[Self]:
2928
+ # A series which is moved, potentially without its parent needs to
2929
+ # have it's parent reset. This is aligned with CoW chained assigment
2930
+ # semantics as well, but it is a little different from existing modin
2931
+ # semantics. This is why we only do this for hybrid and inplace
2932
+ # modification.
2933
if inplace and self._parent is not None:
2934
if backend != self._parent.get_backend():
2935
self._parent = None
0 commit comments