El dv 09 de 02 del 2007 a les 08:05 -0800, en/na dragan savic va
escriure:
> Hello!
> 
> Is it possible to access data in tables like:
> 
> table[start:stop:step][start:stop:step]
> 
> where the first dimension represents rows of a table
> and the second one represents the columns of a table.

This is not possible because of the next:

table[start:stop:step]

returns a recarray (numarray of NumPy, depending on the flavor). So,
what you are asking for is whether:

recarray[startcol:stopcol:stepcol]

would work. However, afaik, this is not implemented neither in numarray
nor NumPy (although it would be a nice feature to add).

Cheers,

-- 
Francesc Altet    |  Be careful about using the following code --
Carabos Coop. V.  |  I've only proven that it works, 
www.carabos.com   |  I haven't tested it. -- Donald Knuth


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to