Please note, this is a STATIC archive of website www.javatpoint.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
Javatpoint Logo
Javatpoint Logo

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.

Output:

{'__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:

Output:

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






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA