This is documentation for an old release of SciPy (version 0.9.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.io.mmread

scipy.io.mmread(source)

Reads the contents of a Matrix Market file ‘filename’ into a matrix.

Parameters :

source : file

Matrix Market filename (extensions .mtx, .mtz.gz) or open file object.

Returns :

a: :

Sparse or full matrix

Previous topic

scipy.io.mminfo

Next topic

scipy.io.mmwrite

This Page