Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ _as_array
Function
_as_array
pandas/tests/internals/test_internals.py:873–876 ·
view source on GitHub ↗
(mgr)
Source
from the content-addressed store, hash-verified
871
872
873
def
_as_array(mgr):
874
if
mgr.ndim == 1:
875
return
mgr.external_values()
876
return
mgr.as_array().T
877
878
879
class
TestIndexing:
Callers
4
assert_slice_ok
Method · 0.85
assert_take_ok
Method · 0.85
assert_reindex_axis_is_ok
Method · 0.85
assert_reindex_indexer_is_ok
Method · 0.85
Calls
2
external_values
Method · 0.45
as_array
Method · 0.45
Tested by
no test coverage detected