I combined some of the very useful comments/code from Tim and Torgil and
came-up with the attached program to read csv files and convert the data
into a recarray. I couldn¹t use all of their suggestions because, frankly, I
didn¹t understand all of them :)
The program use variable names if provided
On Tue, Jul 17, 2007 at 01:58:24PM -0400, Alan G Isaac wrote:
> On Tue, 17 Jul 2007, Stefan van der Walt apparently wrote:
> >var1 :
> >Description.
> >breaks. This can be fixed either by omitting the colon after
> >'var1' in the second case, or by slightly modifying epydoc's o
On Tue, 17 Jul 2007, Stefan van der Walt apparently wrote:
>var1 :
>Description.
>breaks. This can be fixed either by omitting the colon after
>'var1' in the second case, or by slightly modifying epydoc's output.
It breaks semantically too, no?
(The colon is a separator, separ
I just built numpy from svn checkout:
Python 2.4.3 (#2, Nov 8 2006, 23:56:15)
[GCC 3.4.6 [FreeBSD] 20060305] on freebsd6
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/local/lib/python
On 7/17/07, Keith Goodman <[EMAIL PROTECTED]> wrote:
On 7/17/07, David Cournapeau <[EMAIL PROTECTED]> wrote:
> I noticed that min and max already ignore Nan, which raises the
> question: why are there nanmin and nanmax functions ?
Using min and max when you have NaNs is dangerous. Here's an exa
On 7/17/07, David Cournapeau <[EMAIL PROTECTED]> wrote:
> I noticed that min and max already ignore Nan, which raises the
> question: why are there nanmin and nanmax functions ?
Using min and max when you have NaNs is dangerous. Here's an example:
>> x = M.matrix([[ 1.0, 2.0, M.nan]])
>> x.min()
Matthieu Brucher wrote:
> Hi,
>
> I encountered cases where numpy.min() returned nan when the first and
> the last values were nan. Didn't know of nanmin(), but I'll use them now !
Mmh, interesting. Indeed, a quick test shows that as long as the last
value of a rank 1 array is not Nan, min ignore
Hi all,
In May this year, Charles Harris posted to this mailing list
http://thread.gmane.org/gmane.comp.python.numeric.general/15381/focus=15407
discussing some shortcomings of the current NumPy (and hence SciPy)
documentation standard
http://projects.scipy.org/scipy/numpy/browser/trunk/numpy/d
Hi,
I encountered cases where numpy.min() returned nan when the first and the
last values were nan. Didn't know of nanmin(), but I'll use them now !
Matthieu
2007/7/17, David Cournapeau <[EMAIL PROTECTED]>:
Hi,
I noticed that min and max already ignore Nan, which raises the
question: why are
Hi,
I noticed that min and max already ignore Nan, which raises the
question: why are there nanmin and nanmax functions ?
cheers,
David
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discu
10 matches
Mail list logo