Skip to main content

DB_Column.is_in

is_invector

Group: Logical

Documentation

Checks for each element of the column if it is contained within the provided vector or column.

Arguments

  • vector: A vector of elements or another column. The resulting column will contain true at the positions where the corresponding element of self is contained in vector.

Examples

Check if elements of a column are contained in a provided vector.

      import Standard.Examples

example_contains = Examples.text_column_1.is_in [1, 2, 5]