Skip to main content

Column.contains

containsothercase_sensitivity

Group: Logical

Documentation

Checks for each element of the column if it contains other.

Arguments

  • other: The value to compare self with. If other is a column, the operation is performed pairwise between corresponding elements of self and other.
  • 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"