I like where this is going.
Driven by a desire to avoid a million different methods on a single
class, we've done something similar in our library.
So instead of
thing.mean()
thing.max(...)
etc.
we have:
thing.scrunch(MEAN, ...)
thing.scrunch(MAX, ...)
etc.
Where the
On Fri, Mar 30, 2012 at 8:35 AM, Richard Hattersley
rhatters...@gmail.com wrote:
I like where this is going.
Driven by a desire to avoid a million different methods on a single
class, we've done something similar in our library.
So instead of
thing.mean()
thing.max(...)
etc.
we
On Thu, Mar 29, 2012 at 6:53 PM, Tim Cera t...@cerazone.net wrote:
If instead you passed in a function:
def padwithzeros(vector, pad_width, iaxis, **kwargs):
bvector = np.zeros(pad_width[0])
avector = np.zeros(pad_width[1])
return bvector, avector
b =
On Fri, Mar 30, 2012 at 5:41 AM, Nathaniel Smith n...@pobox.com wrote:
On Thu, Mar 29, 2012 at 6:53 PM, Tim Cera t...@cerazone.net wrote:
If instead you passed in a function:
def padwithzeros(vector, pad_width, iaxis, **kwargs):
bvector = np.zeros(pad_width[0])
On Fri, Mar 30, 2012 at 1:22 PM, Charles R Harris
charlesr.har...@gmail.com wrote:
On Fri, Mar 30, 2012 at 5:41 AM, Nathaniel Smith n...@pobox.com wrote:
On Thu, Mar 29, 2012 at 6:53 PM, Tim Cera t...@cerazone.net wrote:
If instead you passed in a function:
def padwithzeros(vector,
I rearranged your questions.
Why is this function allocating new arrays that will just be
copied into the big array and then discarded, instead of filling in
the big array directly? (Again, this is a speed issue.)
My example in the e-mail was incorrect (sorry about that). The way it
actually
My suggestion is:
Step 1: Change the current PR so that it has only one user-exposed
function, something like pad(..., mode=foo), and commit that.
Everyone seems to pretty much like that interface, implementing it
would take 1 hour of work, and then the basic functionality would be
landed
On Fri, Mar 30, 2012 at 2:20 PM, Tim Cera t...@cerazone.net wrote:
My suggestion is:
Step 1: Change the current PR so that it has only one user-exposed
function, something like pad(..., mode=foo), and commit that.
Everyone seems to pretty much like that interface, implementing it
would take 1
On 29 March 2012 09:07, Christoph Gohle christoph.go...@mpq.mpg.de wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 08.03.2012 um 20:39 schrieb Pauli Virtanen:
08.03.2012 17:37, Christoph Gohle kirjoitti:
thanks for testing. I have now tried on different platforms. I get
all kinds
On Fri, Mar 30, 2012 at 10:57 AM, mark florisson
markflorisso...@gmail.com wrote:
Although the segfault was caused by a bug in NumPy, you should
probably also consider using Cython, which can make a lot of this pain
and boring stuff go away.
Is there a good demo/sample somewhere of an ndarray
On 30 March 2012 19:53, Chris Barker chris.bar...@noaa.gov wrote:
On Fri, Mar 30, 2012 at 10:57 AM, mark florisson
markflorisso...@gmail.com wrote:
Although the segfault was caused by a bug in NumPy, you should
probably also consider using Cython, which can make a lot of this pain
and boring
On 30 March 2012 21:38, mark florisson markflorisso...@gmail.com wrote:
On 30 March 2012 19:53, Chris Barker chris.bar...@noaa.gov wrote:
On Fri, Mar 30, 2012 at 10:57 AM, mark florisson
markflorisso...@gmail.com wrote:
Although the segfault was caused by a bug in NumPy, you should
probably
On 30 March 2012 21:40, mark florisson markflorisso...@gmail.com wrote:
On 30 March 2012 21:38, mark florisson markflorisso...@gmail.com wrote:
On 30 March 2012 19:53, Chris Barker chris.bar...@noaa.gov wrote:
On Fri, Mar 30, 2012 at 10:57 AM, mark florisson
markflorisso...@gmail.com wrote:
Hello, everyone.
I work with Travis at Continuum, and he asked me to setup a YouTrack
server that everyone is welcome to play around with. There is a test
project currently set up, with some fake tickets.
Here is the address:
http://ec2-107-21-65-210.compute-1.amazonaws.com:8011/issues
On Fri, Mar 30, 2012 at 4:08 PM, Maggie Mari maggie.m...@continuum.iowrote:
Hello, everyone.
I work with Travis at Continuum, and he asked me to setup a YouTrack
server that everyone is welcome to play around with. There is a test
project currently set up, with some fake tickets.
Here is
15 matches
Mail list logo