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

Function _as_numpy_array

python/pyarrow/tests/test_convert_builtin.py:162–165  ·  view source on GitHub ↗
(xs)

Source from the content-addressed store, hash-verified

160
161
162def _as_numpy_array(xs):
163 arr = np.empty(len(xs), dtype=object)
164 arr[:] = xs
165 return arr
166
167
168def _as_set(xs):

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected