Is the astype required here -- i.e., do the SWIG wrappers produce int8 on output?