Liking cljdoc? Tell your friends :D

sturdy.numpy.dataset-list


npy->dataset-rowlistsclj

(npy->dataset-rowlists path)

Read a 2D NumPy .npy file into a dataset with a single column :c1.

Each row in :c1 is a zero-copy view (dtype-next sub-buffer) of length ncols, representing that row in row-major order.

Notes:

  • Only 2D arrays are supported.
  • C-order (row-major) files are supported.
  • Fortran-order files are not currently supported by this helper.
  • The resulting column has elemwise dtype :object (each cell is a buffer). Some downstream systems may not accept object columns for bulk ingestion.
Read a 2D NumPy `.npy` file into a dataset with a single column `:c1`.

Each row in `:c1` is a zero-copy view (dtype-next sub-buffer) of length
`ncols`, representing that row in row-major order.

Notes:
- Only 2D arrays are supported.
- C-order (row-major) files are supported.
- Fortran-order files are not currently supported by this helper.
- The resulting column has elemwise dtype `:object` (each cell is a buffer).
  Some downstream systems may not accept object columns for bulk ingestion.
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