code: def test_compare_df_three_metrics(metrics):
      expected = pd.DataFrame(
          {1: [0.1, 0.2], 2: [0.15, 0.25], 3: [0.25, 0.35]}
      )
  
      out = nbcollection.compare_df(
          tables=metrics, ids=[1, 2, 3], 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 13 for calling a global function with example usage: test_compare_df_three_metrics(metrics) without return types