hipdf.core.column.string.StringMethods.lower#
21 min read time
Applies to Linux
- StringMethods.lower() SeriesOrIndex #
Converts all characters to lowercase.
Equivalent to str.lower().
Returns#
- Series or Index of object
A copy of the object with all strings converted to lowercase.
See Also#
- upper
Converts all characters to uppercase.
- title
Converts first character of each word to uppercase and remaining to lowercase.
- capitalize
Converts first character to uppercase and remaining to lowercase.
- swapcase
Converts uppercase to lowercase and lowercase to uppercase.
Examples#
>>> import cudf >>> data = ['lower', 'CAPITALS', 'this is a sentence', 'SwApCaSe'] >>> s = cudf.Series(data) >>> s.str.lower() 0 lower 1 capitals 2 this is a sentence 3 swapcase dtype: object