Column.
like
SQL like expression. Returns a boolean Column based on a SQL LIKE match.
Column
a SQL LIKE pattern
See also
pyspark.sql.Column.rlike
Examples
>>> df.filter(df.name.like('Al%')).collect() [Row(age=2, name='Alice')]