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
>h
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-24-4c86e9d5451d> in <module>
3 m = memoryview(a)
4 print(m.format)
----> 5 m.cast(m.format)
ValueError: memoryview: destination format must be a native single character format prefixed with an optional '@'
So... I think the best solution is probably just to do a quick round-trip to Numpy to coerce the right byte order and shape:
Array compression fails for non-native byte order, for example:
results in this error:
The text was updated successfully, but these errors were encountered: