code: def next_p(self, p_prev: int, p: int):
      feature_values = self.feature_values
      end_non_missing = self.end - self.n_missing
  
      while (
          p + 1 < end_non_missing
          and feature_values[p + 1]
          <= feature_values[p] + FEATURE_THRESHOLD
      ):
          p += 1
      p_prev = p
      p += 1
      return p_prev, p
  
imports: import ivy
label_desc: Use image node_id 5 for calling the DensePartitioner obj's underlying member method code with example usage: obj.next_p(p_prev, p) and returns: p_prev,  p