code: def df(vals, cols):
      return DataFrame(vals, columns=cols)
  
file_path: pandas/pandas/tests/indexing/multiindex/test_indexing_slow.py
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Series
  import pandas._testing
label_desc: Use image node_id 6 for calling a global function with example usage: df(vals, cols) and returns: DataFrame