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

Method generate_ascii_string_list

python/benchmarks/common.py:218–225  ·  view source on GitHub ↗

Generate a list of ASCII strings 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

216 min_size, max_size, none_prob)
217
218 def generate_ascii_string_list(self, n, min_size, max_size,
219 none_prob=DEFAULT_NONE_PROB):
220 """
221 Generate a list of ASCII strings with a random size between
222 *min_size* and *max_size*.
223 """
224 return self._generate_varying_sequences(get_random_ascii, n,
225 min_size, max_size, none_prob)
226
227 def generate_unicode_string_list(self, n, min_size, max_size,
228 none_prob=DEFAULT_NONE_PROB):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected