Column.
contains
Contains the other element. Returns a boolean Column based on a string match.
Column
string in line. A value as a literal or a Column.
Examples
>>> df.filter(df.name.contains('o')).collect() [Row(age=5, name='Bob')]