nigsp.io.load_txt

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

Read files in textual format.

Parameters:
fnamestr or os.PathLike

Path to the txt file

shapeNone, ‘square’, or ‘rectangle’, optional

Shape of matrix, if empty, skip check

Returns:
mtxnumpy.ndarray

Data matrix

See also

check_mtx_dim