[Pytables-users] searching for group names

2013-08-05 Thread Nyirő Gergő
Hello, We develop a measurement evaluation tool, and we'd like to use pytables/hdf5 as a middle layer for signal accessing. We have to deal with the silly structure of the recorder device measurement format. The signals can be accessed via two identifiers: * device name: source of the

[Pytables-users] dates and space

2013-08-05 Thread Oleksandr Huziy
Hi Pytables users and developers: I have a few questions to which I could not find the answer in the documentation. Thank you in advance for any help. 1. If I store dates in Pytables, does it mean I could write queries like table.where('date.month == 5')? Is there a common way to pass from

Re: [Pytables-users] dates and space

2013-08-05 Thread Anthony Scopatz
On Mon, Aug 5, 2013 at 1:38 PM, Oleksandr Huziy guziy.sa...@gmail.comwrote: Hi Pytables users and developers: I have a few questions to which I could not find the answer in the documentation. Thank you in advance for any help. 1. If I store dates in Pytables, does it mean I could write

Re: [Pytables-users] dates and space

2013-08-05 Thread Jeff Reback
Here is a pandas solution for doing just this (which uses PyTables under the hood): # create a frame In [45]: df = DataFrame(randn(1000,2),index=date_range('2101',periods=1000)) In [53]: df Out[53]:  class 'pandas.core.frame.DataFrame' DatetimeIndex: 1000 entries, 2000-01-01 00:00:00 to

Re: [Pytables-users] Clear chunks from CArray

2013-08-05 Thread Anthony Scopatz
Hello Giovanni, I think you may need to del that slice and then possibly repack. Hope this helps. Be Well Anthony On Mon, Aug 5, 2013 at 2:09 PM, Giovanni Luca Ciampaglia glciamp...@gmail.com wrote: Hello all, is there a way to clear out a chunk from a CArray? I noticed that setting the

Re: [Pytables-users] Clear chunks from CArray

2013-08-05 Thread Giovanni Luca Ciampaglia
Hi Anthony, what do you mean precisely? I tried del ca[:,:] but CArray does not support __delitem__. Looking in the documentation I could only find a method called remove_rows, but it's in Table, not CArray. Maybe I am missing something? Thank, Giovanni On Mon 05 Aug 2013 03:43:42 PM EDT,

Re: [Pytables-users] Clear chunks from CArray

2013-08-05 Thread Anthony Scopatz
On Mon, Aug 5, 2013 at 3:14 PM, Giovanni Luca Ciampaglia glciamp...@gmail.com wrote: Hi Anthony, what do you mean precisely? I tried del ca[:,:] but CArray does not support __delitem__. Looking in the documentation I could only find a method called remove_rows, but it's in Table, not