Write the header for an array using the 2.0 format. The 2.0 format allows storing very large structured arrays. .. versionadded:: 1.9.0 Parameters ---------- fp : filelike object d : dict This has the appropriate entries for writing its string represent
(fp, d)
| 460 | |
| 461 | |
| 462 | def write_array_header_2_0(fp, d): |
| 463 | """ Write the header for an array using the 2.0 format. |
| 464 | The 2.0 format allows storing very large structured arrays. |
| 465 | |
| 466 | .. versionadded:: 1.9.0 |
| 467 | |
| 468 | Parameters |
| 469 | ---------- |
| 470 | fp : filelike object |
| 471 | d : dict |
| 472 | This has the appropriate entries for writing its string |
| 473 | representation to the header of the file. |
| 474 | """ |
| 475 | _write_array_header(fp, d, (2, 0)) |
| 476 | |
| 477 | def read_array_header_1_0(fp, max_header_size=_MAX_HEADER_SIZE): |
| 478 | """ |
nothing calls this directly
no test coverage detected