Quick question:
Can anyone think of a realistic/real-world use case for array broadcasting and
np.select, (other than scalar to ndarray broadcasting)?
e.g. differently shaped arrays with matching lower dimensions.
(I don't know if a use case even exists).
Graeme.
Hi all,
I hadn't realized until Pauli just pointed it out that np.dot and the
new gufuncs actually have different rules for how they handle extra
axes:
https://github.com/numpy/numpy/pull/3524#issuecomment-21117601
This is turning into a big mess, and it may take some hard decisions to fix it.
Returning to numpy after a while away, I'm impressed with
the style and content of the User Guide and the Reference. This
is to offer a Guide correction - I couldn't figure out how to
offer the correction on-line.
What is Numpy?
Announcing HDF5 for Python (h5py) 2.2.0 BETA
We are proud to announce that HDF5 for Python 2.2.0 (beta) is now available.
Because of the large number of new features in this release, we are actively
seeking community feedback over the (2-week) beta
On Thu, 2013-07-18 at 13:52 +0100, Nathaniel Smith wrote:
Hi all,
snip
So:
QUESTION 1: does that sound right: that in a perfect world, the
current gufunc convention would be the only one, and that's what we
should work towards, at least in the cases where that's possible?
Sounds
On Wed, Jul 17, 2013 at 5:57 PM, Frédéric Bastien no...@nouiz.org wrote:
On Wed, Jul 17, 2013 at 10:39 AM, Nathaniel Smith n...@pobox.com wrote:
On Tue, Jul 16, 2013 at 11:55 AM, Nathaniel Smith n...@pobox.com wrote:
It's entirely possible I misunderstood, so let's see if we can work it
We have had 508 responses to the matplotlib user survey. Quite a nice
turnout!
You can view the results here:
https://docs.google.com/spreadsheet/viewanalytics?key=0AjrPjlTMRTwTdHpQS25pcTZIRWdqX0pNckNSU01sMHcgridId=0#chart
and from there, you can access the complete raw results.
I will be
Apologies: I didn't realize the link to the raw results only exists for
users with edit permissions. The public URL for the raw results is:
https://docs.google.com/spreadsheet/ccc?key=0AjrPjlTMRTwTdHpQS25pcTZIRWdqX0pNckNSU01sMHcusp=sharing
Mike
On 07/18/2013 09:42 AM, Michael Droettboom
On Sat, Jul 13, 2013 at 7:46 PM, Nathaniel Smith n...@pobox.com wrote:
Why not just write
def H(a):
return a.conj().T
It's hard to convince students that this is the Best Way of doing
things in NumPy. Why, they ask, can you do it using a' in MATLAB,
then?
I've tripped over this one
I'm floating this thought even though it is not fleshed out.
On occasion, I run into the following problem:
I have a rectangular array A to which I want to append
a (probably) one dimensional vector b to make [A|b].
Of course this can be done as np.hstack((x,b[:,None]))
(or obscurely
On Thu, Jul 18, 2013 at 5:57 PM, Alan G Isaac alan.is...@gmail.com wrote:
I'm floating this thought even though it is not fleshed out.
On occasion, I run into the following problem:
I have a rectangular array A to which I want to append
a (probably) one dimensional vector b to make [A|b].
On 7/18/2013 1:03 PM, Robert Kern wrote:
np.column_stack([x, b]) does everything you need.
So it does.
It's not referenced from the hstack or concatenate documentation.
Thanks!
Alan
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
On Thu, Jul 18, 2013 at 7:06 PM, Alan G Isaac alan.is...@gmail.com wrote:
On 7/18/2013 1:03 PM, Robert Kern wrote:
np.column_stack([x, b]) does everything you need.
So it does.
It's not referenced from the hstack or concatenate documentation.
A pull request would fix all of that in seconds!
Forgive my ignorance, but has numpy and scipy stopped doing that weird doc
editing thing that existed back in the days of Trac? I have actually held
back on submitting doc edits because I hated using that thing so much.
___
NumPy-Discussion mailing list
Hi Ben
On Thu, Jul 18, 2013 at 7:18 PM, Benjamin Root ben.r...@ou.edu wrote:
Forgive my ignorance, but has numpy and scipy stopped doing that weird doc
editing thing that existed back in the days of Trac? I have actually held
back on submitting doc edits because I hated using that thing so
On 7/18/2013 1:03 PM, Robert Kern wrote:
np.column_stack([x, b]) does everything you need.
I am curious: why is column_stack in numpy/lib/shape_base.py
while hstack and vstack are in numpy/core/shape_base.py ?
Thanks,
Alan
___
NumPy-Discussion
18.07.2013 20:18, Benjamin Root kirjoitti:
Forgive my ignorance, but has numpy and scipy stopped doing that weird
doc editing thing that existed back in the days of Trac? I have actually
held back on submitting doc edits because I hated using that thing so much.
You were never required to use
Well, that's nice to know now. However, I distinctly remember being told
that any changes made to the docstrings directly in the source would end up
getting replaced by whatever was in the doc edit system whenever a merge
from it happens. Therefore, if one wanted their edits to be persistent,
they
18.07.2013 21:11, Benjamin Root kirjoitti:
Well, that's nice to know now. However, I distinctly remember being told
that any changes made to the docstrings directly in the source would end
up getting replaced by whatever was in the doc edit system whenever a
merge from it happens. Therefore,
Hi folks,
1st time poster - apologies if I'm breaking any protocols...
We were told that this would be a good alias to announce this on: a few Python
OSS enthusiasts and Microsoft have created a plug-in for Visual Studio that
enables Python - C/C++ debugging. You may find this useful for
Hi,
I see the desire for stylistic improvement by removing the awkward
parens but your correction has incorrect grammar. One cannot have
arrays of Python, nor are Numpy objects a subset of Python
(because Python is not a set) -- both of which are what your sentence
technically states. I.e., the
Hi everyone,
Some of my elderly code stopped working upon upgrades of numpy and
upcoming pandas: https://github.com/pydata/pandas/issues/4290 so I have
looked at the code of
2481 def mean(a, axis=None, dtype=None, out=None, keepdims=False):
2482
...
2489 Parameters
2490
On Thu, Jul 18, 2013 at 10:49 PM, Yaroslav Halchenko
li...@onerussian.comwrote:
Hi everyone,
Some of my elderly code stopped working upon upgrades of numpy and
upcoming pandas: https://github.com/pydata/pandas/issues/4290 so I have
looked at the code of
2481 def mean(a, axis=None,
On Thu, 18 Jul 2013, Skipper Seabold wrote:
Not sure anyways if my direct numpy.mean application to pandas DataFrame
is
kosher -- initially I just assumed that any argument is asanyarray'ed
first
-- but I think here catching TypeError for those incompatible .mean's
On Thu, Jul 18, 2013 at 9:24 PM, Yaroslav Halchenko li...@onerussian.comwrote:
On Thu, 18 Jul 2013, Skipper Seabold wrote:
Not sure anyways if my direct numpy.mean application to pandas
DataFrame
is
kosher -- initially I just assumed that any argument is
asanyarray'ed
25 matches
Mail list logo