code: def test_split_errors_and_scores(
      scores_arg, errors_expected, scores_expected, transpose
  ):
      errors, scores = nbcollection.split_errors_and_scores(
          axis=[1, 2, 3],
          scores_arg=scores_arg,
          axis_second=["a", "b", "c"],
          transpose=transpose,
      )
  
      if transpose:
          scores_expected = (scores_expected[1], scores_expected[0])
          errors_expected = (errors_expected[1], errors_expected[0])
  
      assert errors == errors_expected
      assert scores == scores_expected
  
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 6 for calling a global function with example usage: test_split_errors_and_scores(scores_arg, errors_expected, scores_expected, transpose) without return types