Column.contains
containsothercase_sensitivity
Group: Logical
Documentation
Checks for each element of the column if it contains other
.
Arguments
other
: The value to compareself
with. Ifother
is a column, the operation is performed pairwise between corresponding elements ofself
andother
.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"