Does Numpy Support CGI scripting? DO scipy and matplotlib also support?
Regards
~ymk
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Mon, Dec 14, 2009 at 5:29 AM, Chris wrote:
> Chris gmail.com> writes:
>
>> Here it is:
>>
>> http://files.me.com/fonnesbeck/6ezhy5
>>
>
> Sorry, that link should be:
>
> http://files.me.com/fonnesbeck/qv8o59
Ok, so the undefined functions all indicate that the most recently
implemented ones a
On Dec 13, 2009, at 8:54 PM, Ernest Adrogué wrote:
> Hi,
>
> How does one generate a structured array from a normal
> array?
>
> I use the 'view' method, but this way I get a superfluous
> dimension that I do not want. Example:
>
> In [619]: a = np.array([[1,2,3],[1,2,3],[1,2,4]],int)
>
> In [6
On Dec 13, 2009, at 6:18 PM, Thomas Robitaille wrote:
> Hi,
>
> The following code doesn't seem to work:
>
> import numpy.ma as ma
>
> t = ma.array(zip([1,2,3],[4,5,6]),dtype=[('a',int),('b',int)])
> print repr(t['a'])
> t['a'].set_fill_value(10)
> print repr(t['a'])
>
> As the output is
>
> m
12/12/09 @ 08:16 (-0800), thus spake Keith Goodman:
> If a and b are as short as in your example, which I doubt, here's a faster
> way:
>
> >> timeit np.nonzero(reduce(np.logical_or, [a == i for i in b]))
> 10 loops, best of 3: 14 µs per loop
> >> timeit [i for i, z in enumerate(a) if z in b]
Hi,
How does one generate a structured array from a normal
array?
I use the 'view' method, but this way I get a superfluous
dimension that I do not want. Example:
In [619]: a = np.array([[1,2,3],[1,2,3],[1,2,4]],int)
In [620]: struct = np.dtype([('a',int),('b',int),('c',int)])
In [621]: a.view
Chris gmail.com> writes:
> Here it is:
>
> http://files.me.com/fonnesbeck/6ezhy5
>
Sorry, that link should be:
http://files.me.com/fonnesbeck/qv8o59
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinf
==
Announcing EuroScipy 2010
==
---
The 3rd European meeting on Python in Science
---
**Paris, Ecole Normale Supérieure, July 8-11 2010**
We are happy t
Hi,
The following code doesn't seem to work:
import numpy.ma as ma
t = ma.array(zip([1,2,3],[4,5,6]),dtype=[('a',int),('b',int)])
print repr(t['a'])
t['a'].set_fill_value(10)
print repr(t['a'])
As the output is
masked_array(data = [1 2 3],
mask = [False False False],
fill
David Cournapeau gmail.com> writes:
> could you show the output from nm on umath.so, to check what
> symbols are missing. Maybe seeing the whole list would bring
> something.
Here it is:
http://files.me.com/fonnesbeck/6ezhy5
The symbol in question is in there, but I see that it does not
have
On Sun, Dec 13, 2009 at 9:27 AM, Robert Ferrell wrote:
>
> On Dec 13, 2009, at 7:07 AM, josef.p...@gmail.com wrote:
>
>> On Sun, Dec 13, 2009 at 3:31 AM, Pierre GM
>> wrote:
>>> On Dec 13, 2009, at 12:11 AM, Robert Ferrell wrote:
Have you considered creating a TimeSeries for each data series
Here
http://www.scipy.org/NumPy_for_Matlab_Users
a recommendation to use scipy.integrate.ode(...) with parameters
"method='bdf', order=15" instead of the ode15s function (from Matlab) is
given. But from the documentation for the scipy.integrate.ode(...) one can
find out that the accuracy order
Hi,
Could we have a ma aware numpy.ma.log2 please, similar to np.ma.log
and np.ma.log10?
I think it should be as simple as the patch below but perhaps I've
missed something:
Thanks,
Robin
--- core.py.orig2009-12-13 15:14:14.0 +
+++ core.py 2009-12-13 15:14:53.0
On Dec 13, 2009, at 7:07 AM, josef.p...@gmail.com wrote:
> On Sun, Dec 13, 2009 at 3:31 AM, Pierre GM
> wrote:
>> On Dec 13, 2009, at 12:11 AM, Robert Ferrell wrote:
>>> Have you considered creating a TimeSeries for each data series, and
>>> then putting them all together in a dict, keyed by s
On Dec 13, 2009, at 1:31 AM, Pierre GM wrote:
> On Dec 13, 2009, at 12:11 AM, Robert Ferrell wrote:
>> Have you considered creating a TimeSeries for each data series, and
>> then putting them all together in a dict, keyed by symbol?
>
> That's an idea
>
>> One disadvantage of one big monster nump
On Sun, Dec 13, 2009 at 3:31 AM, Pierre GM wrote:
> On Dec 13, 2009, at 12:11 AM, Robert Ferrell wrote:
>> Have you considered creating a TimeSeries for each data series, and
>> then putting them all together in a dict, keyed by symbol?
>
> That's an idea
As far as I understand, that's what panda
Bruce Southey wrote:
> Really I would suggest asking the list for the real problem because it
> is often amazing what solutions have been given.
So far this is the fastest code I've got:
import numpy as np
nmax = 100
def mi
On Sun, Dec 13, 2009 at 12:55 PM, Robert Kern wrote:
>> I don't see any build error on this log ?
>
> See earlier in the thread. The error occurs at runtime:
Right.
Chris, could you show the output from nm on umath.so, to check what
symbols are missing. Maybe seeing the whole list would bring
s
On Dec 13, 2009, at 12:11 AM, Robert Ferrell wrote:
> Have you considered creating a TimeSeries for each data series, and
> then putting them all together in a dict, keyed by symbol?
That's an idea
> One disadvantage of one big monster numpy array for all the series is
> that not all series m
19 matches
Mail list logo