Hi Charles,
2010/10/8 Charles Krohn <ctkr...@fallcreekresearch.com>
> Is there an easy way to delete columns from a table, or to generate a new
> table containing only certain columns? The best way I can think of is to
> create a copy of the source table's description, delete the desired columns,
> and build a new table using the copied description. This seems kind of
> cumbersome, though.
>
Sorry, but there is currently not an 'easy' way to delete columns, so you
have go the copy venue. The thing is that table data is row-wise, so
removing a column always implies a complete rewrite of the table.
I'm thinking on implementing a column-wise table object for PyTables so that
these kind of operation would be efficient to do. Probably that would be
implemented in PyTables 3.
Cheers,
--
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