code: def from_rows_or_ranges(
      *args: Union[str, bigtable_row_range.RowRange]
  ) -> RowSet:
      """Create a set from a row range.
  
      Args:
        *args: A row range (RowRange) which will be
            appended to an empty row set.
      Returns:
        RowSet: a set of rows containing the given row range.
      """
      row_set = empty()
      for row_or_range in args:
          row_set.append(row_or_range)
  
      return row_set
  
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 2 for calling a global function with example usage: from_rows_or_ranges() and returns: row_set