python_utils.zip_to_array#
Back to Module page
Summary#
O(10^3)x faster np.array([row for row in np.broadcast(\*args)]) usable when args are all at most 1d.
Signature#
def zip_to_array(*args)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Docstring#
O(10^3)x faster np.array([row for row in np.broadcast(*args)])
usable when args are all at most 1d.