A Friday 12 November 2010 11:14:21 Francesc Alted escrigué: > [And yet another message...] > > ----------------------------------------------------------------- > De: "David Briant" <david.bri...@tradingroomassociates.com> > A: pytables-users@lists.sourceforge.net > Data: Dimecres 19:26:03 > > AA1M. dtype=[('Date', '<f8'), ('Open', '<f4'), ('High', '<f4'), > ('Low', '<f4'), ('Close', '<f4'), ('Volume', '<i8')]) > > Can I just double check that if I want a recarray ordered by date > (which is a CSI) then the only way is to first get the indexes, then > do a readCoordinates, e.g.: > > coords = AA1M.getWhereList("(t1<=Date) & (Date<=t2)", > dict(t1=parseDate("1/5/2007 9:00am"), t2=parseDate("1/5/2007 > 5:30pm")), sort=True) > recarray = AA1M.readCoordinates(coords)
Yes, I think this is the only way for doing what you want. -- Francesc Alted ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users