A Wednesday 19 November 2008, [EMAIL PROTECTED] escrigué:
> Francesc Alted wrote:
> > A Tuesday 18 November 2008, Eric Bruning escrigué:
> >> If extended slicing isn't supported, is there a better way to deal
> >> with sparse indices than:
> >> for row_id, datum in zip(row_ids, coldata):
> >>
Francesc Alted wrote:
> A Tuesday 18 November 2008, Eric Bruning escrigué:
>> If extended slicing isn't supported, is there a better way to deal
>> with sparse indices than:
>> for row_id, datum in zip(row_ids, coldata):
>> col[row_id] = datum
>
> Yes, there is. You can make use of the .iter
Hi Eric,
A Tuesday 18 November 2008, Eric Bruning escrigué:
> Is the extended slice attribute notation supported? It is mentioned
> on the http://www.pytables.org/moin/HintsForSQLUsers#Updatingdata,
> and is said to allow writing data to arbitrary row coordinates, like
> so:
>
> rows = [
> ('f
Is the extended slice attribute notation supported? It is mentioned on
the http://www.pytables.org/moin/HintsForSQLUsers#Updatingdata, and is
said to allow writing data to arbitrary row coordinates, like so:
rows = [
('foo', 0.0, 0.0, 150.0),
('bar', 0.5, 0.0, 100.0),
('foo', 1.0, 1.0,