cudf.core.column.string.StringMethods.istitle#

StringMethods.istitle() SeriesOrIndex[source]#

Check whether each string is title formatted. The first letter of each word should be uppercase and the rest should be lowercase.

Equivalent to str.istitle().

Returns:
Series or Index of object

Examples

>>> import cudf
>>> data = ['leopard', 'Golden Eagle', 'SNAKE', ''])
>>> s = cudf.Series(data)
>>> s.str.istitle()
0    False
1     True
2    False
3    False
dtype: bool