normalize#

pylibcudf.nvtext.normalize.normalize_spaces(
Column input,
stream=None,
DeviceMemoryResource mr=None,
) Column#

Returns a new strings column by normalizing the whitespace in each string in the input column.

For details, see normalize_spaces()

Parameters:
inputColumn

Input strings

streamStream | None

CUDA stream on which to perform the operation.

Returns:
Column

New strings columns of normalized strings.