numpy.ndarray.tostring

ndarray.tostring(order='C')

Construct a Python string containing the raw data bytes in the array.

Parameters:

order : {‘C’, ‘F’, None}

Order of the data for multidimensional arrays: C, Fortran, or the same as for the original array.

Previous topic

numpy.ndarray.itemset

Next topic

numpy.ndarray.tofile

This Page

Quick search