code: def triple_df(*values):
      return pd.DataFrame(values, columns=["source", "label", "target"])
  
file_path: stellargraph/tests/mapper/test_knowledge_graph.py
imports: import pytest
  import pandas
  import numpy
  from stellargraph.mapper.knowledge_graph import KGTripleGenerator, KGTripleSequence
  from ..None import test_utils
  from ..test_utils.graphs import knowledge_graph
label_desc: Use image node_id 2 for calling a global function with example usage: triple_df() and returns: pd