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

Method _constructor_expanddim

pandas/core/series.py:623–630  ·  view source on GitHub ↗

Used when a manipulation result has one higher dimension as the original, such as Series.to_frame()

(self)

Source from the content-addressed store, hash-verified

621
622 @property
623 def _constructor_expanddim(self) -> Callable[..., DataFrame]:
624 """
625 Used when a manipulation result has one higher dimension as the
626 original, such as Series.to_frame()
627 """
628 from pandas.core.frame import DataFrame
629
630 return DataFrame
631
632 def _constructor_expanddim_from_mgr(self, mgr, axes):
633 from pandas.core.frame import DataFrame

Callers 7

apply_standardMethod · 0.45
_whereMethod · 0.45
str_extractallFunction · 0.45
ohlcMethod · 0.45
_wrap_applied_outputMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected