MCPcopy Create free account
hub / github.com/apache/arrow / generate_int_list_list

Method generate_int_list_list

python/benchmarks/common.py:236–244  ·  view source on GitHub ↗

Generate a list of lists of Python ints with a random size between *min_size* and *max_size*.

(self, n, min_size, max_size,
                               none_prob=DEFAULT_NONE_PROB)

Source from the content-addressed store, hash-verified

234 min_size, max_size, none_prob)
235
236 def generate_int_list_list(self, n, min_size, max_size,
237 none_prob=DEFAULT_NONE_PROB):
238 """
239 Generate a list of lists of Python ints with a random size between
240 *min_size* and *max_size*.
241 """
242 return self._generate_varying_sequences(
243 partial(self.generate_int_list, none_prob=none_prob),
244 n, min_size, max_size, none_prob)
245
246 def generate_tuple_list(self, n, none_prob=DEFAULT_NONE_PROB):
247 """

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected