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

Function _generate_dedup_example

python/pyarrow/tests/test_pandas.py:3418–3420  ·  view source on GitHub ↗
(nunique, repeats)

Source from the content-addressed store, hash-verified

3416
3417
3418def _generate_dedup_example(nunique, repeats):
3419 unique_values = [rands(10) for i in range(nunique)]
3420 return unique_values * repeats
3421
3422
3423def _assert_nunique(obj, expected):

Calls 1

randsFunction · 0.90

Tested by

no test coverage detected