code: def _try_import():
      # since pandas is a dependency of pyarrow
      # we need to import on first use
      try:
          import pyarrow
          from pyarrow import feather
      except ImportError:
          # give a nice error message
          raise ImportError(
              "pyarrow is not installed\n\n"
              "you can install via conda\n"
              "conda install pyarrow -c conda-forge\n"
              "or via pip\n"
              "pip install -U pyarrow\n"
          )
  
      if LooseVersion(pyarrow.__version__) < LooseVersion("0.9.0"):
          raise ImportError(
              "pyarrow >= 0.9.0 required for feather support\n\n"
              "you can install via conda\n"
              "conda install pyarrow -c conda-forge"
              "or via pip\n"
              "pip install -U pyarrow\n"
          )
  
      return feather, pyarrow
  
imports: from distutils.version import LooseVersion
  from pandas.compat import range
  from pandas.util._decorators import deprecate_kwarg
  from pandas import DataFrame, Int64Index, RangeIndex
  from pandas.io.common import _stringify_path
label_desc: Use image node_id 1 for calling a global function with example usage: _try_import() and returns: feather,  pyarrow