numpy-ts supports the same binary and text file formats as NumPy. The API is split across two entry points:Documentation Index
Fetch the complete documentation index at: https://numpyts.dev/llms.txt
Use this file to discover all available pages before exploring further.
numpy-ts/node for filesystem access, and numpy-ts (or numpy-ts/core) for in-memory serialization suitable for browsers.
Loading .npy files
The.npy format stores a single array with its dtype, shape, and byte order metadata.
Working with NPZ archives (multiple arrays)
The.npz format bundles multiple named arrays into a single ZIP archive.
CSV loading with parseTxt
Load delimited text files (CSV, TSV, etc.) into arrays.Flexible text loading with genfromtxt
genfromtxt is like parseTxt but handles missing and irregular data more gracefully.