> The footer appended by the mailing list shows that the name it’s right but
> only the subject tag is wrong. It’s trivial to fix.
You are probably right, but I wouldn't like to mess up with people's mail
filters (some of which may depend on the subject tag).
t. :). There is also some
instances of "Numpy" spelling in numpy sources, but changing them would
probably need more care and time.
If everyone agrees the PRs could be merged together. Please review and comment!
Thanks in advance,
Bartosz
___
ies use similar dichotomies:
- Django - import django
- Cython - import cython
- PyYAML - import yaml
- scikit-learn - import sklearn
On the other hand all standard Python libraries are lower-case named.
Cheers,
Bartosz
[1] https://www.python.org/dev/peps/pep-0008/#package-and-module-
I got it. Thanks! Now I see why this is non-trivial to fix it.
However, it might be also a source of very-hard-to-find bugs. It might
be worth discussing this non-intuitive example in the documentation.
Cheers,
Bartosz
>> Thanks for answer, Francesc.
>>
>> I understand now t
Thanks for answer, Francesc.
I understand now that fancy indexing returns a copy of a recarray. Is
it also true for standard ndarrays? If so, I do not understand why
X['a'][cond]=-1 should work.
Cheers,
Bartosz
On Wed 28 Nov 2012 03:05:37 PM CET, Francesc Alted wrote:
> On 11/
cted? Would it be
possible to emit a warning message in the case of "faulty" assignments?
Bartosz
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
rn x.size == 0
>else:
> return bool(x)
Bartosz
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
omplex.
In fact, Python provides False values for most empty objects, but NumPy seems
to ignore this. It might be a good idea to have a helper function which handles
all objects consistently.
Yours,
Bartosz
___
NumPy-Discussion mailing list
NumPy
ne:
... print 'hello'
hello
Although this behaviour is expected, it may be very confusing and it easily
leads to errors. Even worse it adds unnecessary complexity in the code, because
arrays, lists and None have to be handled differently.
I hoped the I managed to explain the pro
map' object has no attribute 'filename'
I can produce this bug in numpy 1.5.1 with python2.6 (from macports).
Cheers,
Bartosz
Institute for Theoretical Biology
Humboldt University of Berlin
Germany
http://neuroscience.telenczuk.pl
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
10 matches
Mail list logo