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

Function _generate_dedup_example

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

Source from the content-addressed store, hash-verified

3386
3387
3388def _generate_dedup_example(nunique, repeats):
3389 unique_values = [rands(10) for i in range(nunique)]
3390 return unique_values * repeats
3391
3392
3393def _assert_nunique(obj, expected):

Calls 1

randsFunction · 0.90

Tested by

no test coverage detected