cudf.core.accessors.string.StringMethods.istitle#
- StringMethods.istitle() Series | Index[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 >>> series = cudf.Series(["leopard", "Golden Eagle", "SNAKE", ""]) >>> series.str.istitle() 0 False 1 True 2 False 3 False dtype: bool