code: def _partition_data_by_feature(_df, PART_SIZE):
      # compute the number of sets
      m = int((_df["dst"].max() / PART_SIZE) + 1)
  
      _ui = [None] * (m + 1)
  
      # Partition the data into a number of smaller DataFrame
      s = 0
      e = s + PART_SIZE
  
      for i in range(m):
          _ui[i] = _df.query("dst >= @s and dst < @e")
  
          s = e
          e = e + PART_SIZE
  
      return _ui, m
  
file_path: cugraph/python/cugraph/cugraph/experimental/structure/bicliques.py
imports: import cudf
  import numpy
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling a global function with example usage: _partition_data_by_feature(_df, PART_SIZE) and returns: _ui,  m