A Tuesday 03 May 2011 00:19:38 Ben Elliston escrigué:
> On Mon, May 02, 2011 at 11:21:32AM -0400, Curiouslearn wrote:
> > I still don't know how to compress an already created table.
> 
> One thing you could do is create a new, compressed table, and then
> just copy the data across with an assignment: dest = src.

Or, more properly, dest[:] = src[:].  But in case your tables are really 
large you really want to use the `copy()` method of the Table object, 
with an appropriate Filters instance in the `filters` param.  More info:

http://www.pytables.org/docs/manual/ch04.html#TableMethods_other

-- 
Francesc Alted

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to