code: def _init_index(runs):
      index = indexlib.RunIndex()
      index.refresh(runs, ["scalar"])
      return index
  
imports: import logging
  import os
  import re
  import guild
  from guild import batch_util
  from guild import click_util
  from guild import config
  from guild import index
  from guild import run
  from guild import run_util
  from guild import util
  from guild import var
  from .None import compare_impl
  from .None import runs_impl
label_desc: Use image node_id 8 for calling the ViewDataImpl obj's underlying member method code with example usage: obj._init_index(runs) and returns: index