Sven Schreiber schrieb:
> Hi Vincent, of course it depends a little on how exactly your csv file
> looks like, but if you just have column headers and the actual data, you
> might try something like the following:
>
Ok sorry the previous thing doesn't work, I also stumbled over the
strings. Here
Vincent Nijs schrieb:
> If there is an easy way to read array data + variable names using the csv
> module it would be great if that could be added to cookbook/InputOutput. I
> couldn't figure out how to do it.
>
>
Hi Vincent, of course it depends a little on how exactly your csv file
looks like
On Friday 29 December 2006 00:39, Vincent Nijs wrote:
> Eike:
> I think I can figure out how to add a plot method. However, if you
> have some more suggestions on how to implement the getAtTime,
> extract, and set methods you mentioned that would be great.
Set method:
I thought of a method to chang
Sorry for the extra post. There were are few errors in the previous
attachment.
Vincent
On 12/28/06 5:39 PM, "Vincent Nijs" <[EMAIL PROTECTED]> wrote:
> Based on Eike's input the dbase class can now also load and dump (simple)
> csv and pickle files. See the tests at the bottom of the file and
Based on Eike's input the dbase class can now also load and dump (simple)
csv and pickle files. See the tests at the bottom of the file and the
doc-strings.
If there is an easy way to read array data + variable names using the csv
module it would be great if that could be added to cookbook/InputOu
Thanks for the input Eike.
I will add load and store methods to Pickle/UnPickle the object. I have got
to get the data into the class first however from an ascii file (txt or
csv).
I'd like to read the data and variable names directly from a single csv
file. I tried this through the python csv mo
If your main concern is to store scientific data on disk you might
try:
http://www.pytables.org/moin
However, it uses numarray internally and a C library, which you have
to build from source. (You use a Mac right?)
Concerning your code:
- Your two file solution seems impractical to me. I thin