On Sat, Mar 3, 2012 at 4:48 PM, Francesc Alted <fal...@pytables.org> wrote:
> On Mar 3, 2012, at 12:44 PM, Anthony Scopatz wrote:
>
> > Hello Kale,
> >
> > This is actually pretty easy. You should look at the where() method on
> tables (
> http://pytables.github.com/usersguide/libref.html?#tables.Table.where).
> This will give you an iterator that then you can stick in a new table.
> >
> > In psuedocode:
> >
> > mask = table1.where('x<y')
> > table2 = file.createTable(...)
> > table2.append(mask)
>
> I think what OP is looking for is Table.whereAppend:
>
> http://pytables.github.com/usersguide/libref.html#tables.Table.whereAppend
>
> which is a nice and easy way to do this sort of things.
>
Just So!
>
> Cheers,
>
> -- Francesc Alted
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Pytables-users mailing list
> Pytables-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytables-users
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users