code: def batches(seq, n):
      """Yield successive n-sized batches from seq."""
      for i in range(0, len(seq), n):
          yield seq[i : i + n]
  
imports: from __future__ import annotations
  from math import ceil
  from dask import compute, delayed
  from pandas import DataFrame
  import numpy
  import pandas
  import param
  from .utils import ngjit
label_desc: Use image node_id 11 for calling a global function with example usage: batches(seq, n) without return types