daft.expressions.StringMethodAccessor.endswith#

StringMethodAccessor.endswith(pattern: str) daft.expressions.CallExpression[source]#

Checks whether each string ends with the given pattern in a string column

Example

>>> col("x").str.endswith("foo")
Parameters

pattern (str) – pattern to search for

Returns

a LOGICAL expression indicating whether each value ends with the provided pattern

Return type

CallExpression