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
Hi All:
I have a huge table imported from other binary files to hdf, and I forgot
to multiply the data by a factor in one case. Is there an easy way to
multiply a column by a constant factor using pytables?
To modify it in place?
Thank you
--
Sasha
, 2013 at 11:44 AM, Oleksandr Huziy
guziy.sa...@gmail.comwrote:
Hi All:
I have a huge table imported from other binary files to hdf, and I forgot
to multiply the data by a factor in one case. Is there an easy way to
multiply a column by a constant factor using pytables?
To modify it in place
= varTable.cols.field
expr = tb.Expr(c * m, uservars = {c: c, m: coef })
expr.set_output(c)
expr.eval()
varTable.flush()
h.close()
Aha, this is cool. Thanks Anthony.
Cheers
--
Sasha
On Tue, Aug 27, 2013 at 11:44 AM, Oleksandr Huziy
guziy.sa...@gmail.com wrote:
Hi All:
I have a huge