numpy.ma.masked_array.tobytes
method
- ma.masked_array.tobytes(fill_value=None, order='C')
Return the array data as a string containing the raw bytes in the array.
The array is filled with a fill value before the string conversion.
- Parameters:
- fill_value : scalar, optional
Value used to fill in the masked values. Default is None, in which case MaskedArray.fill_value is used.