Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ test_shallow_copy
Function
test_shallow_copy
pandas/tests/indexes/multi/test_copy.py:35–38 ·
view source on GitHub ↗
(idx)
Source
from the content-addressed store, hash-verified
33
34
35
def
test_shallow_copy(idx):
36
i_copy = idx._view()
37
38
assert_multiindex_copied(i_copy, idx)
39
40
41
def
test_view(idx):
Callers
nothing calls this directly
Calls
2
assert_multiindex_copied
Function · 0.85
_view
Method · 0.45
Tested by
no test coverage detected