code:
import scipy.io as spio
mat = spio.loadmat('F:\\matlab_file.mat', squeeze_me=True)
print(type(mat))
key=(mat.keys())
value1=mat[key[0]]
Here is the code
Output of value1 should be in dictionary format as it is nested structure
But I am getting list or nd.array that is combined data
import scipy.io as spio
mat = spio.loadmat('F:\\matlab_file.mat', squeeze_me=True)
print(type(mat))
key=(mat.keys())
value1=mat[key[0]]
Here is the code
Output of value1 should be in dictionary format as it is nested structure
But I am getting list or nd.array that is combined data