Input and output

NumPy binary files (NPY, NPZ)

::
load save savez savez_compressed

The format of these binary file types is documented in numpy.lib.format

Text files

genfromtxt(\*args, \*\*kwargs) This is a wrapper of the official NumPy’s genfromtxt function.
loadtxt
savetxt
fromregex
fromstring
ndarray.tofile
ndarray.tolist

Raw binary files

fromfile
ndarray.tofile

String formatting

array2string
array_repr
array_str
format_float_positional
format_float_scientific

Memory mapping files

memmap

Text formatting options

set_printoptions
get_printoptions
set_string_function
printoptions

Base-n representations

binary_repr
base_repr

Data sources

DataSource

Binary Format Description

lib.format