Daft icon indicating copy to clipboard operation
Daft copied to clipboard

[EXPRESSIONS] `.str.like`

Open colin-ho opened this issue 1 year ago • 0 comments

.str.like(patterns : str | list[str])

Match patterns against self, case-sensitive.

This function is modeled after the SQL LIKE directive. Use % as a multiple-character wildcard or _ as a single-character wildcard.

Use re_search or rlike for regular expression-based matching.

example:

df = df.select(df["a"].like('pattern%'))

https://ibis-project.org/reference/expression-strings#ibis.expr.types.strings.StringValue.like

colin-ho avatar Feb 20 '24 19:02 colin-ho