code: def intersect(
      row_set: RowSet, row_range: bigtable_row_range.RowRange
  ) -> RowSet:
      """Modify a RowSet by intersecting its contents with a RowRange.
  
      All rows intersecting with the given range will be removed from the set
      and all row ranges will either be adjusted so that they do not cover
      anything beyond the given range or removed entirely (if they have an
      empty intersection with the given range).
  
      Args:
        row_set: A set (RowSet) which will be intersected.
        row_range (RowRange): The range with which this row set will be
            intersected.
      Returns:
        RowSet: an intersection of the given row set and row range.
      """
      return RowSet(
          core_ops.bigtable_row_set_intersect(
              row_set._impl, row_range._impl
          )
      )
  
file_path: io/tensorflow_io/python/ops/bigtable/bigtable_row_set.py
imports: from tensorflow_io.python.ops import core_ops
  from tensorflow_io.python.ops.bigtable import bigtable_row_range
  from typing import Union
label_desc: Use image node_id 3 for calling a global function with example usage: intersect(row_set, row_range) and returns: RowSet