Return a slice of this block. Args: start: The starting index of the slice (inclusive). end: The ending index of the slice (exclusive). copy: Whether to perform a data copy for the slice. Returns: The sliced block result.
(self, start: int, end: int, copy: bool = False)
| 412 | raise NotImplementedError |
| 413 | |
| 414 | def slice(self, start: int, end: int, copy: bool = False) -> Block: |
| 415 | """Return a slice of this block. |
| 416 | |
| 417 | Args: |
| 418 | start: The starting index of the slice (inclusive). |
| 419 | end: The ending index of the slice (exclusive). |
| 420 | copy: Whether to perform a data copy for the slice. |
| 421 | |
| 422 | Returns: |
| 423 | The sliced block result. |
| 424 | """ |
| 425 | raise NotImplementedError |
| 426 | |
| 427 | def take(self, indices: List[int]) -> Block: |
| 428 | """Return a new block containing the provided row indices. |
no outgoing calls