code: def range_indexes(min_size=0, max_size=None):
      # type: (int, int) -> st.SearchStrategy[pandas.RangeIndex]
      """Provides a strategy which generates an :class:`~pandas.Index` whose
      values are 0, 1, ..., n for some n.
  
      Arguments:
  
      * min_size is the smallest number of elements the index can have.
      * max_size is the largest number of elements the index can have. If None
        it will default to some suitable value based on min_size.
      """
      check_valid_size(min_size, "min_size")
      check_valid_size(max_size, "max_size")
      if max_size is None:
          max_size = min([min_size + DEFAULT_MAX_SIZE, 2**63 - 1])
      check_valid_interval(min_size, max_size, "min_size", "max_size")
      return st.integers(min_size, max_size).map(pandas.RangeIndex)
  
imports: from __future__ import absolute_import, division, print_function
  from collections import OrderedDict
  from copy import copy
  import attr
  import numpy
  import pandas
  import hypothesis.extra.numpy
  import hypothesis.internal.conjecture.utils
  import hypothesis.strategies._internal.core
  from hypothesis.control import reject
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal.compat import abc, hrange
  from hypothesis.internal.coverage import check, check_function
  from hypothesis.internal.validation import check_type, check_valid_interval, check_valid_size, try_convert
label_desc: Use image node_id 4 for calling a global function with example usage: range_indexes(min_size, max_size) and returns: st