slice

Contents

slice#

2026-03-11

19 min read time

Applies to Linux

pylibhipdf.strings.slice.slice_strings(signatures, args, kwargs, defaults, _fused_sigindex={})#

Perform a slice operation on a strings column.

start and stop may be a Column or a Scalar. But step must be a Scalar.

For details, see cudf::strings::slice_strings().

Parameters#

inputColumn

Strings column for this operation

startUnion[Column, Scalar]

The start character position or positions.

stopUnion[Column, Scalar]

The end character position or positions

stepScalar

Distance between input characters retrieved

streamStream | None

CUDA stream on which to perform the operation.

Returns#

pylibcudf.Column

The result of the slice operation