capitalize#
- pylibcudf.strings.capitalize.capitalize(Column input, Scalar delimiters=None) Column #
Returns a column of capitalized strings.
For details, see
cudf::strings::capitalize()
.- Parameters:
- inputColumn
String column
- delimitersScalar, default None
Characters for identifying words to capitalize
- Returns:
- pylibcudf.Column
Column of strings capitalized from the input column
- pylibcudf.strings.capitalize.is_title(Column input) Column #
Checks if the strings in the input column are title formatted.
For details, see
cudf::strings::is_title()
.- Parameters:
- inputColumn
String column
- Returns:
- pylibcudf.Column
Column of type BOOL8
- pylibcudf.strings.capitalize.title(Column input, string_character_types sequence_type=string_character_types.ALPHA) Column #
Modifies first character of each word to upper-case and lower-cases the rest.
For details, see
cudf::strings::title()
.- Parameters:
- inputColumn
String column
- sequence_typestring_character_types, default string_character_types.ALPHA
The character type that is used when identifying words
- Returns:
- pylibcudf.Column
Column of titled strings