nigsp.io.load_txt

nigsp.io.load_txt(fname, shape=None)[source]

Read files in textual format.

Parameters:
fnamestr | os.PathLike

Path to the txt file.

shapeNone | 'square' | 'rectangle'

Shape of matrix, if empty, skip check.

Returns:
mtxnumpy.ndarray

Data matrix.

See also

check_mtx_dim