You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creation of np.recarray via np.rec.fromarrays(...) fails if provided arrayList are empty lists and dtype is non-trivial (containing sub-arrays).
In this particular case the function call has enough information to create empty array equivalent to output of e.g., np.empty(shape=0, dtype=dtype).view(np.recarray).
Creation of
np.recarray
vianp.rec.fromarrays(...)
fails if providedarrayList
are empty lists anddtype
is non-trivial (containing sub-arrays).In this particular case the function call has enough information to create empty array equivalent to output of e.g.,
np.empty(shape=0, dtype=dtype).view(np.recarray)
.Reproducing code example:
Error message:
Numpy/Python version information:
The text was updated successfully, but these errors were encountered: