code: def assert_equal(actual, desired, err_msg="", verbose=True, **kwds):
      if isinstance(desired, pandas.Index):
          pdt.assert_index_equal(actual, desired)
      elif isinstance(desired, pandas.Series):
          pdt.assert_series_equal(actual, desired, **kwds)
      elif isinstance(desired, pandas.DataFrame):
          pdt.assert_frame_equal(actual, desired, **kwds)
      else:
          npt.assert_equal(actual, desired, err_msg="", verbose=True)
  
file_path: statsmodels/statsmodels/tools/testing.py
imports: from statsmodels.compat.pandas import testing
  import numpy.testing
  import pandas
  from statsmodels.tools.tools import Bunch
label_desc: Use image node_id 2 for calling a global function with example usage: assert_equal(actual, desired, err_msg, verbose) without return types