def _chop(self, sdata: DataFrame, slice_obj: slice) -> DataFrame:
    mgr = sdata._mgr.get_slice(slice_obj, axis=(1 - self.axis))
    obj = type(sdata)._from_mgr(mgr)
    object.__setattr__(obj, '_flags', sdata._flags)
    return obj
def _chop(self, sdata: DataFrame, slice_obj: slice) -> DataFrame:
    mgr = sdata._mgr.get_slice(slice_obj, axis=(1 - self.axis))
    obj = type(sdata)._from_mgr(mgr)
    object.__setattr__(obj, '_flags', sdata._flags)
    return obj