pathlib.Path) numpy.ndarray[source]

Reads data from a relatively portable binary format.

A “portable” binary file is a directory containing a binary file and a very small json file which contains

  1. dtype

  2. shape

  3. offset

We do this instead of using pickling in order to ensure that the data formats are portable.