Because writing "arr.ravel('F')" doesn't seem as descriptive as
"arr.ravel(order='F')", I wrote this simple patch. I added mention of the
order='A' parameter to a few places it is relevant as well. Here's the
branch on github:
http://github.com/m-paradox/numpy/compare/master...ravel_keyword_arg
I see my slicing was the problem, np.vstack((test[:1], test)) works
perfectly.
On Wed, Oct 27, 2010 at 12:55 AM, wrote:
> On Tue, Oct 26, 2010 at 8:15 PM, Dewald Pieterse
> wrote:
> > Starting with:
> >
> >> In [93]: test =
> >> numpy.array([[[1,1,1],[1,1,1]],[[2,2,2],[2,2,2]],[[3,3,3],[3,3,3]]
On Tue, Oct 26, 2010 at 8:15 PM, Dewald Pieterse
wrote:
> Starting with:
>
>> In [93]: test =
>> numpy.array([[[1,1,1],[1,1,1]],[[2,2,2],[2,2,2]],[[3,3,3],[3,3,3]]])
>>
>> In [94]: test
>> Out[94]:
>> array([[[1, 1, 1],
>> [1, 1, 1]],
>>
>> [[2, 2, 2],
>> [2, 2, 2]],
>>
>>
Starting with:
In [93]: test =
> numpy.array([[[1,1,1],[1,1,1]],[[2,2,2],[2,2,2]],[[3,3,3],[3,3,3]]])
>
> In [94]: test
> Out[94]:
> array([[[1, 1, 1],
> [1, 1, 1]],
>
>[[2, 2, 2],
> [2, 2, 2]],
>
>[[3, 3, 3],
> [3, 3, 3]]])
>
> Slicing the complete first ro
Tue, 26 Oct 2010 14:24:39 -0700, Nicolai Heitz wrote:
> > http://mail.scipy.org/mailman/listinfo/scipy-user
>
> I contacted them already but they didn't responded so far and I was
> forwarded to that list which was supposed to be more appropriated.
I think you are thinking here about some other l
Am 26.10.2010 12:38, schrieb josef.p...@gmail.com:
> On Tue, Oct 26, 2010 at 3:28 PM, Pauli Virtanen wrote:
>> Tue, 26 Oct 2010 12:16:53 -0700, Nicolai Heitz wrote:
>>> I am not sure if you are the right persons to contact but if not I would
>>> appreciate a short notice and maybe an address
On Tue, Oct 26, 2010 at 3:28 PM, Pauli Virtanen wrote:
> Tue, 26 Oct 2010 12:16:53 -0700, Nicolai Heitz wrote:
>> I am not sure if you are the right persons to contact but if not I would
>> appreciate a short notice and maybe an address where I can find help. I
>> already posted this this message
Tue, 26 Oct 2010 12:16:53 -0700, Nicolai Heitz wrote:
> I am not sure if you are the right persons to contact but if not I would
> appreciate a short notice and maybe an address where I can find help. I
> already posted this this message in an other python mailing list and
> they forwarded me to th
Hey,
I am not sure if you are the right persons to contact but if not I would
appreciate a short notice and maybe an address where I can find help. I already
posted this
this message in an other python mailing list and they forwarded me to this list
and told me that I might find help here.
I a
>
> the vectorized version that should work (minus typos, just written not
> tested)
filt = data['filt']
mask = filt=='SU'
x1=data['x1'][mask]
SUx2 = data['x2'][mask]
no loop necessary.
T hanks Josef.
It works as it is.
Resmi
___
NumPy-Discussio
I found some issues on Mac OS X 10.5 ppc in py2.5.4:
See here:
http://github.com/friedrichromstedt/numpy/tree/release%2F1.5.1rc1%2Fpy2.5-python.org-macosx10.3/release/logs/osx105rh/
I tested also on 10.6 intel and 10.5 intel, there are no Fs.
The Python was freshly installed, only nose & the nu
Another solution
http://code.activestate.com/recipes/577124-approximately-equal/
--
Fabrice Silva
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Tue, Oct 26, 2010 at 10:57 AM, Resmi wrote:
> Hi
> I'm new to python. I'm trying to plot a data set in matplotlib.
>
> The data is a mixture of strings and floats, has four columns
> (col[0],col[1],col[2],col[3]) and it looks like:
>
> R -2.29350 0.50340 0.480E-01
> R -2.25903
Hi
I'm new to python. I'm trying to plot a data set in matplotlib.
The data is a mixture of strings and floats, has four columns
(col[0],col[1],col[2],col[3]) and it looks like:
R -2.29350 0.50340 0.480E-01
R -2.25903 0.50740 0.480E-01
SU -2.19457 0.16200 0.800E-01
Hi,
Yeah, that's what I meant. Upgrading numpy over an old install via
distutils breaks it.
cheers,
On Tue, Oct 26, 2010 at 1:54 AM, David wrote:
> On 10/26/2010 08:47 AM, Ralf Gommers wrote:
> > On Tue, Oct 26, 2010 at 12:35 AM, René Dudfield
> wrote:
> >> hi,
> >>
> >> this is another in
15 matches
Mail list logo