hipdf.core.accessors.string.StringMethods.istitle#
1 min read time
Applies to Linux
- StringMethods.istitle() Series | Index#
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