A Monday 23 February 2009, escriguéreu:
> Francesc,
>
> You made my day; well month really! Many thanks. This is very useful.
>
> I just installed from trunk and it works fine on my data. I tried
> some weirder indexing like descending order (e.g. [5,3] instead of
> [3,5]) and negative indexes, and they all appear to work correctly.

Nice.

> I do get a ValueError when I index with numpy arrays instead of
> lists, e.g. array[numpy.array([3,5]),:] instead of array[[3,5],:]. I
> don't know if that is intended or not. It is easy to avoid from the
> user's side by array's `tolist()` method, but you may consider to
> allow indexing with numpy arrays as well.

Good point.  Added support for this in r4030 (trunk).

Cheers,

-- 
Francesc Alted

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to