def _slice(self, slobj, axis=<NUM_LIT:0>, kind=None):
axis = self._get_block_manager_axis(axis)<EOL>result = self._constructor(self._data.get_slice(slobj, axis=axis))<EOL>result = result.__finalize__(self)<EOL>is_copy = axis != <NUM_LIT:0> or result._is_view<EOL>result._set_is_copy(self, copy=is_copy)<EOL>return result<EOL>
Construct a slice of this container.

kind parameter is maintained for compatibility with Series slicing.