daft.Expression.str.capitalize

daft.Expression.str.capitalize#

Expression.str.capitalize() Expression[source]#

Capitalize a UTF-8 string

Example

>>> col("x").str.capitalize()
Returns:

a String expression which is self uppercased with the first character and lowercased the rest

Return type:

Expression