Input and output (scipy.io)

See also

System Message: WARNING/2 (/home/pauli.virtanen/build-docs/scipy-0.7.x/doc/source/io.rst)

undefined label: numpy-reference.routines.io – if you don’t give a link caption the label must precede a section header.
(in Numpy)

MATLAB® files

loadmat (file_name[, mdict, appendmat, **kwargs) Load Matlab(tm) file
savemat (file_name, mdict[, appendmat, format, ...]) Save a dictionary of names and arrays into the MATLAB-style .mat file.

Matrix Market files

mminfo (source) Queries the contents of the Matrix Market file ‘filename’ to extract size and storage information.
mmread (source) Reads the contents of a Matrix Market file ‘filename’ into a matrix.
mmwrite (target, a[, comment, field, ...]) Writes the sparse or dense matrix A to a Matrix Market formatted file.

Other

save_as_module ([file_name, data]) Save the dictionary “data” into a module and shelf named save
npfile (*args, **kwds) npfile is DEPRECATED!!

Wav sound files (scipy.io.wavfile)

read (file) Return the sample rate (in samples/sec) and data from a WAV file
write (filename, rate, data) Write a numpy array as a WAV file

Arff files (scipy.io.arff)

Module to read arff files (weka format).

arff is a simple file format which support numerical, string and data values. It supports sparse data too.

See http://weka.sourceforge.net/wekadoc/index.php/en:ARFF_(3.4.6) for more details about arff format and available datasets.

loadarff (filename) Read an arff file.

Netcdf (scipy.io.netcdf)

netcdf_file A NetCDF file parser.
netcdf_variable