MCPcopy
hub / github.com/pandas-dev/pandas / _update_inplace

Method _update_inplace

pandas/core/generic.py:4727–4737  ·  view source on GitHub ↗

Replace self internals with result. Parameters ---------- result : same type as self

(self, result)

Source from the content-addressed store, hash-verified

4725
4726 @final
4727 def _update_inplace(self, result) -> None:
4728 """
4729 Replace self internals with result.
4730
4731 Parameters
4732 ----------
4733 result : same type as self
4734 """
4735 # NOTE: This does *not* call __finalize__ and that's an explicit
4736 # decision that we may revisit in the future.
4737 self._mgr = result._mgr
4738
4739 @final
4740 def add_prefix(self, prefix: str, axis: Axis | None = None) -> Self:

Callers 15

_renameMethod · 0.95
dropMethod · 0.95
sort_indexMethod · 0.95
_pad_or_backfillMethod · 0.95
fillnaMethod · 0.95
replaceMethod · 0.95
interpolateMethod · 0.95
_whereMethod · 0.95
_inplace_methodMethod · 0.95
drop_duplicatesMethod · 0.80
sort_valuesMethod · 0.80
dropnaMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected