code: def _get_skiprows(skiprows):
      """Get an iterator given an integer, slice or container.
  
      Parameters
      ----------
      skiprows : int, slice, container
          The iterator to use to skip rows; can also be a slice.
  
      Raises
      ------
      TypeError
          * If `skiprows` is not a slice, integer, or Container
  
      Returns
      -------
      it : iterable
          A proper iterator to use to skip rows of a DataFrame.
      """
      if isinstance(skiprows, slice):
          return lrange(
              skiprows.start or 0, skiprows.stop, skiprows.step or 1
          )
      elif isinstance(skiprows, numbers.Integral) or is_list_like(
          skiprows
      ):
          return skiprows
      elif skiprows is None:
          return 0
      raise TypeError(
          "%r is not a valid type for skipping rows"
          % type(skiprows).__name__
      )
  
imports: from distutils.version import LooseVersion
  import numbers
  import os
  import re
  import pandas.compat
  from pandas.compat import binary_type, iteritems, lmap, lrange, raise_with_traceback, string_types, u
  from pandas.errors import AbstractMethodError, EmptyDataError
  from pandas.core.dtypes.common import is_list_like
  from pandas import Series
  from pandas.io.common import _is_url, _validate_header_arg, urlopen
  from pandas.io.formats.printing import pprint_thing
  from pandas.io.parsers import TextParser
label_desc: Use image node_id 3 for calling a global function with example usage: _get_skiprows(skiprows) and returns: lrange, skiprows, int