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

Function write_array_header_1_0

numpy/lib/format.py:449–459  ·  view source on GitHub ↗

Write the header for an array using the 1.0 format. Parameters ---------- fp : filelike object d : dict This has the appropriate entries for writing its string representation to the header of the file.

(fp, d)

Source from the content-addressed store, hash-verified

447 fp.write(header)
448
449def write_array_header_1_0(fp, d):
450 """ Write the header for an array using the 1.0 format.
451
452 Parameters
453 ----------
454 fp : filelike object
455 d : dict
456 This has the appropriate entries for writing its string
457 representation to the header of the file.
458 """
459 _write_array_header(fp, d, (1, 0))
460
461
462def write_array_header_2_0(fp, d):

Callers

nothing calls this directly

Calls 1

_write_array_headerFunction · 0.85

Tested by

no test coverage detected