code: def test_exog_pd_dataframes():
      # test with copy
      assert check_exog(X, force_all_finite=True, copy=True).equals(X)
  
      # test without copy
      assert check_exog(X, force_all_finite=True, copy=False) is X
  
imports: from pmdarima.utils.array import diff, diff_inv, c, is_iterable, as_series, check_exog, check_endog
  from pmdarima.utils import get_callable
  from numpy.testing import assert_array_equal, assert_array_almost_equal
  import datetime
  import pytest
  import pandas
  import numpy
label_desc: Use image node_id 12 for calling a global function with example usage: test_exog_pd_dataframes() without return types