Home » SciPy Input and Output

SciPy Input and Output

The SciPy.io (input and output) package supports a vast range of functions to work with a different format of files. Few of these formats are the following:

  • Matlab
  • IDL
  • Matrix Market
  • Wave
  • Arff
  • Netcdf etc.


{'__header__': b'MATLAB 5.0 MAT-file Platform: nt, Created on: Wed Nov 13 14:38:57 2019', '__version__': '1.0', '__globals__': [], 'vect': array([[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]])}  

We can see the array consisted with the information. If we want to inspect the contents of a MATLAB file without reading the data into memory, use the whosmat command as given below:


[('vect', (1, 10), 'int64')]  

You may also like