Input and output (scipy.io)#
SciPy has many modules, classes, and functions available to read data from and write data to a variety of file formats.
See also
MATLAB® files#
| 
 | Load MATLAB file. | 
| 
 | Save a dictionary of names and arrays into a MATLAB-style .mat file. | 
| 
 | List variables inside a MATLAB file. | 
For low-level MATLAB reading and writing utilities, see scipy.io.matlab.
IDL® files#
| 
 | Read an IDL .sav file. | 
Matrix Market files#
| 
 | Return size and storage parameters from Matrix Market file-like 'source'. | 
| 
 | Reads the contents of a Matrix Market file-like 'source' into a matrix. | 
| 
 | Writes the sparse or dense array a to Matrix Market file-like target. | 
Unformatted Fortran files#
| 
 | A file object for unformatted sequential files from Fortran code. | 
| Indicates that the file ended properly. | |
| Indicates that the file ended mid-record. | 
Netcdf#
| 
 | A file object for NetCDF data. | 
| 
 | A data object for netcdf files. | 
Harwell-Boeing files#
| 
 | Read HB-format file. | 
| 
 | Write HB-format file. | 
Wav sound files (scipy.io.wavfile)#
| 
 | Open a WAV file. | 
| 
 | Write a NumPy array as a WAV file. | 
Arff files (scipy.io.arff)#
| 
 | Read an arff file. | 
| 
 | Small container to keep useful information on a ARFF dataset. |