[Pytables-users] Numpy Arrays to Structure Array or Table

2013-08-07 Thread David Reed
Hi there, I have some generic functions that take time series data with 2 numpy array arguments, time and value, and return 2 numpy arrays of time and value. I would like to place these arrays into a Numpy structured array or directly into a new pytables table with fields, time and value. Now Iv

[Pytables-users] Tables vs Arrays

2013-07-28 Thread David Reed
I'm really trying to become more productive using PyTables, but am struggling with what I should be using. Whats the difference between a table and an array? -- See everything from the browser to the database with AppDynam

Re: [Pytables-users] Compression and Indexing in PyTables

2013-07-28 Thread David Reed
28.07.2013 15:24, schrieb David Reed: > > Hi there, I was wondering if there any nice tutorials that show the > > different compression options such as zlib, bzo, etc. and how to > > actually use them with my tables. > > > > There seems to be a lot of good information d

[Pytables-users] Compression and Indexing in PyTables

2013-07-28 Thread David Reed
Hi there, I was wondering if there any nice tutorials that show the different compression options such as zlib, bzo, etc. and how to actually use them with my tables. There seems to be a lot of good information describing the performance increase under the Optimization Tips section, but I don't s

Re: [Pytables-users] Pytables-users Digest, Vol 80, Issue 4

2013-01-03 Thread David Reed
.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pytables-users digest..." > > > Today's Topics: > >1. Re: Pytables-users Dige

Re: [Pytables-users] Pytables-users Digest, Vol 80, Issue 3

2013-01-03 Thread David Reed
, offset by one, and then > > doing the comparison. I am hacking this out super quick so please > forgive > > me: > > > > from itertools import izip > > > > with tb.openFile(...) as f: > > data = f.root.data > > data_i = iter(data) > >

Re: [Pytables-users] Pytables-users Digest, Vol 80, Issue 2

2013-01-03 Thread David Reed
data_i = iter(data) > data_j = iter(data) > data_i.next() # throw the first value away > for i, j in izip(data_i, data_j): > compare(i, j) > > You get the idea ;) > > Be Well > Anthony > > 1. https://github.com/PyTables/PyTables/issues/27 > >

[Pytables-users] Nested Iteration of HDF5 using PyTables

2013-01-03 Thread David Reed
I was hoping someone could help me out here. This is from a post I put up on StackOverflow, I am have a fairly large dataset that I store in HDF5 and access using PyTables. One operation I need to do on this dataset are pairwise comparisons between each of the elements. This requires 2 loops, one