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