Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ _as_numpy_array
Function
_as_numpy_array
python/pyarrow/tests/test_convert_builtin.py:185–188 ·
view source on GitHub ↗
(xs)
Source
from the content-addressed store, hash-verified
183
184
185
def
_as_numpy_array(xs):
186
arr = np.empty(len(xs), dtype=object)
187
arr[:] = xs
188
return
arr
189
190
191
def
_as_set(xs):
Callers
nothing calls this directly
Calls
2
len
Function · 0.85
empty
Method · 0.45
Tested by
no test coverage detected