MCPcopy Index your code
hub / github.com/numpy/numpy / tofile

Method tofile

numpy/ma/core.py:6406–6419  ·  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

6404 return self.filled(fill_value).tobytes(order=order)
6405
6406 def tofile(self, fid, sep="", format="%s"):
6407 """
6408 Save a masked array to a file in binary format.
6409
6410 .. warning::
6411 This function is not implemented yet.
6412
6413 Raises
6414 ------
6415 NotImplementedError
6416 When `tofile` is called.
6417
6418 """
6419 raise NotImplementedError("MaskedArray.tofile() not implemented yet.")
6420
6421 def toflex(self):
6422 """

Calls

no outgoing calls

Tested by 15

test_tofile_roundtripMethod · 0.64
test_tofile_fromfileMethod · 0.64
test_nofileMethod · 0.64
test_roundtrip_fileMethod · 0.64
test_roundtripMethod · 0.64
test_largish_fileMethod · 0.64