Used when a manipulation result has one higher dimension as the original, such as Series.to_frame()
(self)
| 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 |
no outgoing calls
no test coverage detected