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

Function _generate_random_int_array

python/pyarrow/tests/test_dataset.py:4489–4490  ·  view source on GitHub ↗
(size=4, min=1, max=10)

Source from the content-addressed store, hash-verified

4487
4488
4489def _generate_random_int_array(size=4, min=1, max=10):
4490 return [random.randint(min, max) for _ in range(size)]
4491
4492
4493def _generate_data_and_columns(num_of_columns, num_of_records):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected