code: def generate_row_group(
      group_index: int, global_row_index: int, num_rows_in_group: int
  ):
      buffer = {
          "key": np.array(
              range(
                  global_row_index, global_row_index + num_rows_in_group
              )
          ),
      }
      for col, (low, high, dtype) in DATA_SPEC.items():
          if dtype in (np.int16, np.int32, np.int64):
              buffer[col] = np.random.randint(
                  low, high, num_rows_in_group, dtype=dtype
              )
          elif dtype in (np.float32, np.float64):
              buffer[col] = (high - low) * np.random.rand(
                  num_rows_in_group
              ) + low
  
      return pd.DataFrame(buffer)
  
imports: import os
  import pandas
  import numpy
  import ray
label_desc: Use image node_id 3 for calling a global function with example usage: generate_row_group(group_index, global_row_index, num_rows_in_group) and returns: pd