code: def __get_sample_blocks(indexdf):
      return {
          r.sample_block: r.sample_ids
          for r in indexdf.select(
              "sample_block", "sample_ids"
          ).collect()
      }
  
imports: from glow.wgr.ridge_reduction import *
  from glow.wgr.ridge_regression import *
  from glow.wgr.ridge_udfs import *
  from glow.wgr.model_functions import _fill_na_and_standardize
  import numpy
  import pandas
  from pyspark.sql.functions import *
  import math
label_desc: Use image node_id 1 for calling a global function with example usage: __get_sample_blocks(indexdf) and returns: unknown