Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ _assert_nunique
Function
_assert_nunique
python/pyarrow/tests/test_pandas.py:3456–3457 ·
view source on GitHub ↗
(obj, expected)
Source
from the content-addressed store, hash-verified
3454
3455
3456
def
_assert_nunique(obj, expected):
3457
assert len({id(x)
for
x in obj}) == expected
3458
3459
3460
def
test_to_pandas_deduplicate_strings_array_types():
Callers
4
test_to_pandas_deduplicate_strings_array_types
Function · 0.85
test_to_pandas_deduplicate_strings_table_types
Function · 0.85
test_to_pandas_deduplicate_integers_as_objects
Function · 0.85
test_to_pandas_deduplicate_date_time
Function · 0.85
Calls
2
len
Function · 0.85
id
Function · 0.50
Tested by
no test coverage detected