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
data=np.zeros(1, dtype=[('a', int), ('b', float)])
data=data[['b','a']]
memoryview(data)
# RuntimeError: This should never happen: Invalid offset in buffer format string generation. Please report a bug to the Numpy developers.
I don't think this can be fixed, but the error message can certainly explain that a field reorder is required.