code: def __get_sample_blocks(indexdf):
      return {
          r.sample_block: r.sample_ids
          for r in indexdf.select(
              "sample_block", "sample_ids"
          ).collect()
      }
  
file_path: glow/python/glow/wgr/tests/test_estimate_loco_offsets.py
imports: from glow.wgr.ridge_reduction import *
  from glow.wgr.ridge_regression import *
  from glow.wgr.logistic_ridge_regression import *
  from glow.wgr.wgr_functions import estimate_loco_offsets
  import numpy
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: __get_sample_blocks(indexdf) and returns: unknown