Okay.  I think that's a useful feature to add (some people asked about this
before too), so I've added an enhancement ticket for this:

http://www.pytables.org/trac/ticket/297

Francesc

2010/10/8 Charles Krohn <ctkr...@fallcreekresearch.com>

> Thanks Francesc.  I wrote a script to copy data row-wise.  It would be nice
> to see such a feature in PyTables 3.
>
> - Charles
>
> On Fri, Oct 8, 2010 at 6:18 AM, Francesc Alted <fal...@pytables.org>wrote:
>
>> 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
>>
>>
>
>
> ------------------------------------------------------------------------------
> 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

Reply via email to