A better fix for some of the issues addressed here would be to use np.getbuffer() to get bytestream representations of arrays, but that is not yet uniformly implemented in readily-accessible numpy versions. Should work as is w/ slightly hacky solutions.
A better fix for some of the issues addressed here would be to use np.getbuffer() to get bytestream representations of arrays, but that is not yet uniformly implemented in readily-accessible numpy versions. Should work as is w/ slightly hacky solutions.