MCPcopy Create free account
hub / github.com/numpy/numpy / tofile

Method tofile

numpy/ma/core.py:6208–6221  ·  view source on GitHub ↗

Save a masked array to a file in binary format. .. warning:: This function is not implemented yet. Raises ------ NotImplementedError When `tofile` is called.

(self, fid, sep="", format="%s")

Source from the content-addressed store, hash-verified

6206 return self.filled(fill_value).tobytes(order=order)
6207
6208 def tofile(self, fid, sep="", format="%s"):
6209 """
6210 Save a masked array to a file in binary format.
6211
6212 .. warning::
6213 This function is not implemented yet.
6214
6215 Raises
6216 ------
6217 NotImplementedError
6218 When `tofile` is called.
6219
6220 """
6221 raise NotImplementedError("MaskedArray.tofile() not implemented yet.")
6222
6223 def toflex(self):
6224 """

Calls

no outgoing calls