parameters: (data, *_args, **_kwargs)
return_statement: return gf
docstring: Loads a graphframe
docstring_summary: Loads a graphframe
docstring_tokens: Loads a graphframe
function: def load(data, *_args, **_kwargs):
      """Loads a graphframe"""
      from timemory import hatchet
      import hatchet as ht
      import six
  
      gf = ht.GraphFrame.from_timemory(data, *_args, **_kwargs)
      if isinstance(data, six.string_types):
          print(f"{data} columns:")
      else:
          print("graphframe columns:")
      for itr in _get_metric_columns(gf):
          print(f"    {itr}")
  
      return gf
function_tokens: def load ( data , * _args , * * _kwargs ) : from timemory import hatchet import hatchet as ht import six gf = ht . GraphFrame . from_timemory ( data , * _args , * * _kwargs ) if isinstance ( data , six . string_types ) : print ( f"{data} columns:" ) else : print ( "graphframe columns:" ) for itr in _get_metric_columns ( gf ) : print ( f"    {itr}" ) return gf