code: def test_compare_df_two_tables(tables):
      expected = pd.DataFrame(
          {
              0: {
                  "mae": 0.04999999999999999,
                  "mse": 0.04999999999999999,
              },
              1: {"mae": 0.05, "mse": 0.05000000000000002},
          }
      )
  
      out = nbcollection.compare_df(
          tables=tables[:2], ids=[1, 2], scores_arg=None
      )
  
      np.testing.assert_allclose(out.data, expected)
      assert list(out.data.columns) == list(expected.columns)
      assert out.data.index.name == expected.index.name
  
imports: import pytest
  import pandas
  import numpy
  from sklearn_evaluation import NotebookCollection
  from sklearn_evaluation.nb import NotebookCollection
  from IPython.display import HTML
label_desc: Use image node_id 15 for calling a global function with example usage: test_compare_df_two_tables(tables) without return types