MCPcopy Create free account
hub / github.com/numpy/numpy / _arrays_for_stack_dispatcher

Function _arrays_for_stack_dispatcher

numpy/core/shape_base.py:207–212  ·  view source on GitHub ↗
(arrays)

Source from the content-addressed store, hash-verified

205
206
207def _arrays_for_stack_dispatcher(arrays):
208 if not hasattr(arrays, "__getitem__"):
209 raise TypeError('arrays to stack must be passed as a "sequence" type '
210 'such as list or tuple.')
211
212 return tuple(arrays)
213
214
215def _vhstack_dispatcher(tup, *, dtype=None, casting=None):

Callers 4

_column_stack_dispatcherFunction · 0.90
_dstack_dispatcherFunction · 0.90
_vhstack_dispatcherFunction · 0.85
_stack_dispatcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected