package npy
Numpy npy file format reading/writing.
Install
Dune Dependency
Authors
Maintainers
Sources
0.0.7b.tar.gz
sha256=4eac0cb50c01320f8ce18c45f070cd98f5f234d618427d5e2ba14dd806434cc5
md5=1f6a6fa9f13703624fd3ee9704494f9f
Description
Provide simple read/write function using the numpy npy/npz file formats. These can be used to save a bigarray to disk and then load it from python using numpy.
Published: 01 Jan 2018
README
npy-ocaml
This contains a simple implementation of version 1.0 of the npy format spec. An opam package is available and can be installed via:
opam install npy
The main functions are:
Writing ocaml bigarrays to npy files, these files can then be loaded from python using numpy.load.
Reading ocaml bigarrays from npy files, the resulting bigarrays are mmapped to the file.
Reading and writing npz files that could contain multiple arrays.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page