The recarrays were what csv2rec is returning and that's why I was using it. And
this afternoon was the first time I was hearing about red arrays so I was
trying to get my stuff done with the wrong tool. I've changed my code to use
regular txt file loading and all works great.
Thanks everybody f
Pierre GM wrote:
> Note also that you are not limited to recarrays: you can use what's
> called a flexible-type arrays, which still gives the possibility to
> access individual fields by keys, without the overload of recarrays
> (where fields can also be accessed as attributes). For example:
Hi,
I am extensively using the great interactive features of pylab.
I'd like to use text in my figures and make it become larger when I zoom
into it. (now it always remains the same absolute size in the figure). Is
there a way to do this? (maybe its even possible to only show the text when
a ce
Hi all,
Does anyone know if it's possible to make the polar plot look like a
12- or 24-hr clockface? I.e. 0 (or 12) at the top rather than the
right, and labelled in 12ths (or 24ths) instead of degrees?
Thanks,
G
---
FYI, I recoded np.loadtxt to handle missing data, automatic name
definition and conversion functions, as a merge of np.loadtxt and
mlab.csv2rec. You can access the code here:
https://code.launchpad.net/~pierregm/numpy/numpy_addons
Hopefully these functions will make it to numpy at one point or
Michael Droettboom escribió:
> Luis Saavedra wrote:
>> Hi list,
>>
>> When the 'pylab' module is loaded the function 'strtod' does not work
>> well.
>>
> Can you elaborate on how it doesn't work?
>> I suppose that this is not new:
>> http://www.python.org/search/hypermail/python-1994q2/0750.ht
You're right! I read more about recarrays and they were built specially for
being called by the column name, so I shouldn't have used csv2rec from the
start!
Thanks for the quick responses!
Anton
Patrick Marsh-2 wrote:
>
> In my limited opinion, numpy's loadtxt is the way to go. Loadtxt
> d
In my limited opinion, numpy's loadtxt is the way to go. Loadtxt
doesn't care about the headerYou can read in the arrays like this:
# read in all 5 columns as text
col1, col2, col3, col4, col5 = np.loadtxt(filename, dtype=dtype, unpack=True)
or if you want to skip the column headings and read in
I am plotting the data in those csv files and the forst 4 columns in the
files have the same title but the 5th has the name based on the date and
time so it would be unique in each of the files. As I have about 600 files
to batch process, adjusting my script manually is not an option.
The way I h
I'm not sure what you are needing it for, but I would suggest looking
into numpy's loadtxt function. You can use this to load the csv data
into numpy arrays and pass the resulting arrays arround.
-Patrick
On Sat, Jan 3, 2009 at 11:21 AM, antonv wrote:
>
> Hi all,
>
> I have a lot of csv fi
Hi all,
I have a lot of csv files to process, all of them with the same number of
columns. The only issue is that each file has a unique column name for the
fourth column.
All the csv2rec examples I found are using the r.column_name format to
access the data in that column which is of no use fo
Luis Saavedra wrote:
> Hi list,
>
> When the 'pylab' module is loaded the function 'strtod' does not work well.
>
Can you elaborate on how it doesn't work?
> I suppose that this is not new:
> http://www.python.org/search/hypermail/python-1994q2/0750.html
>
> and the question is: any solution?
>
Dear ALL,
Is there any way to ***exclude*** (make invlsible) one of more of the
standard buttons which are displayed in the toolbar (either the
"Classic" or the "Toolbar2") of the MPL backends?
Thanks in advance for any assistance you can provide!
Best regards,
--
Dr. Mauro J. Cavalcanti
Ecoin
Hi list,
When the 'pylab' module is loaded the function 'strtod' does not work well.
I suppose that this is not new:
http://www.python.org/search/hypermail/python-1994q2/0750.html
and the question is: any solution?
In this linkit exists a better description of the problem:
http://mbdynsimsuit
14 matches
Mail list logo