[Scipy-tickets] [SciPy] #1517: scipy.io.loadmat nested structures (i.e. dictionaries)

SciPy Trac scipy-tickets@scipy....
Wed Sep 14 11:49:17 CDT 2011

#1517: scipy.io.loadmat nested structures (i.e. dictionaries)
 Reporter:  mergen                 |       Owner:  mbrett     
     Type:  defect                 |      Status:  new        
 Priority:  normal                 |   Milestone:  Unscheduled
Component:  scipy.io               |     Version:  devel      
 Keywords:  loadmat, dictionaries  |  
Changes (by rgommers):

  * owner:  somebody => mbrett


 I don't know the answer, but I noticed things like this too.  If I have a
 .mat file with a struct x.y in it, I have to do something like
 data = spio.loadmat(...)
 y = data['x'][0][0]['y'][0][0]
 dtype of {{{data['x'][0][0]['y']}}} is indeed 'O8'

Ticket URL: <http://projects.scipy.org/scipy/ticket/1517#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list