scipy.io.mmread

scipy.io.mmread(source)

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

Inputs:

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

Outputs:

a - sparse or full matrix

Previous topic

scipy.io.mminfo

Next topic

scipy.io.mmwrite

This Page

Quick search