Numpy Tobytes, tobytes(order='C') ¶ Construct Python bytes containing the raw data bytes in the array.