I have a Pytables table called Data. I do kExp = Data.readWhere('(MotorCompany
== "Reliance")') to pick out some of the data.
Now the type(kExp) is numpy.ndarray, and kExp.shape is (500,).
but the type(kExp[0]) is numpy.void, and kExp[0] looks like a list.
I would like kExp to be a 2-dimensional numpy array so that I can pick out
columns like kExp[:,0]. I've tried doing kExp = numpy.array(kExp) but that
still doesn't turn kExp to be a 2-dimensional numpy array.
Thanks for any assistance,
Kevin Christman
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users