code: def pd():
      """Fixture to import and configure pandas."""
      pd = pytest.importorskip("pandas")
      try:
          from pandas.plotting import (
              register_matplotlib_converters as register,
          )
      except ImportError:
          from pandas.tseries.converter import register
      register()
      try:
          yield pd
      finally:
          try:
              from pandas.plotting import (
                  deregister_matplotlib_converters as deregister,
              )
          except ImportError:
              pass
          else:
              deregister()
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/testing/conftest.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import pytest
  import matplotlib
label_desc: Use image node_id 5 for calling a global function with example usage: pd() without return types