Thanks for the reply. I don't have any problem since I can convert the list to arrays anytime. It is just strange that I used to get the list of arrays before. Thank you, Joon ---------------------------------------------------------------------------------------------------------------- Hi,
Yes, retrieving a list of lists is what is expected in this case. The flavor implementation in PyTables is not very sofisticated, so it detected a list and it returns a list (of lists in this case), no matter what it is made of. If this is not what you want, you will need to do an additional step and manually convert to your desired format. Francesc 2010/10/5 Joon Ro <groups.j...@gmail.com> > Hi, > > I used to save a list of arrays (a list with its elements being numpy > arrays) to hdf5 files and load them without any problems. > Today I found that if I save the list of arrays, PyTables converts the > array elements of the list into lists. So when I load the data I get list of > lists. > > I actually don't know what happened since I'm using EPD distribution of > python and PyTables so it is unlikely that they got updated. > > I was wondering if this is correct behavior or I did something wrong. > > Best regards, > Joon > > > -- > ------------------------------ > Joon Ro > PhD Student in Marketing > McCombs School of Business > University of Texas at Austin > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Pytables-users mailing list > Pytables-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pytables-users > > -- Francesc Alted -- |
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users