package npy
Numpy npy file format reading/writing.
Install
Dune Dependency
Authors
Maintainers
Sources
0.0.8.tar.gz
md5=94e013ec2e79239439a42c34556e91ad
sha512=d0655ad3045ee7f4c4e8057f735a9c6a6188c0f507a81e5dc9d8010456afd559a071bf412370ff54b92f3b41537a5a375c476cce7af3ec186d0d57df49080f99
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: 03 Nov 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