Liking cljdoc? Tell your friends :D
Clojure only.

sturdy.numpy.header


parse-npy-headerclj

(parse-npy-header npy-byte-data)

Parse a NumPy .npy header string like: "{'descr': '<f4', 'fortran_order': False, 'shape': (1,),}"

Returns: {:descr "<f4" :byte-order :little :kind "f" :size 4 :dtype :f4 :fortran? false :data-start int :shape [1]}

Parse a NumPy .npy header string like:
"{'descr': '<f4', 'fortran_order': False, 'shape': (1,),}"

Returns:
{:descr "<f4"
 :byte-order :little
 :kind "f"
 :size 4
 :dtype :f4
 :fortran? false
 :data-start int
 :shape [1]}
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close