Column.contains
containsothercase_sensitivity
Group: Logical
Documentation
Checks for each element of the column if it contains other.
Arguments
other: The value to compareselfwith. Ifotheris a column, the operation is performed pairwise between corresponding elements ofselfandother.case_sensitivity: Specifies if the text values should be compared case sensitively.
Examples
Check the elements of a column for containing the elements of another
column.
import Standard.Examples
example_contains =
Examples.text_column_1.contains Examples.text_column_2
Check the elements of a column for containing a value.
import Standard.Examples
example_contains = Examples.text_column_1.contains "hell"