code: def create_test_objects():
      vertices = pandas.DataFrame(
          {
              "vid": ["1", "2", "3"],
              "color": ["g", "r", "b"],
              "vec": [
                  [0.1, 0.1, 0.1],
                  [0.1, 0.1, 0.1],
                  [0.1, 0.1, 0.1],
              ],
          }
      )
      edges = pandas.DataFrame(
          {
              "src_id": ["1", "2", "3"],
              "dst_id": ["2", "3", "4"],
              "weight": [0.0, 0.1, 1.0],
          }
      )
  
      graph = (
          SGraph()
          .add_vertices(vertices, "vid")
          .add_edges(edges, "src_id", "dst_id")
      )
      sframe = SFrame(edges)
      return (graph, sframe)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import sys
  import json
  import logging
  import os
  import fnmatch
  import tempfile
  import unittest
  import pandas
  from .._connect import main
  from ..None import _sys_util
  from ..None import util
  from ..None import SGraph, SFrame, load_sgraph, load_model, load_sframe
  from turicreate.toolkits._model import Model
  from pandas.util.testing import assert_frame_equal
label_desc: Use image node_id 2 for calling a global function with example usage: create_test_objects() and returns: graph,  sframe