On Monday 04 August 2008 10:58:00 Nicolas Chopin wrote:
> Hi list,
> I want to do this:
>
> y = concatenate(x[0],x)
>
> where x is a 1d array.
> However, the only way I managed to make this work is:
>
> y = concatenate( array((x[0],),ndmin=1), x)
>
> which is kind of cryptic. (If I remove ndmin, nu
On Mon, Aug 4, 2008 at 3:58 PM, Nicolas Chopin
<[EMAIL PROTECTED]> wrote:
> Hi list,
> I want to do this:
>
> y = concatenate(x[0],x)
>
> where x is a 1d array.
> However, the only way I managed to make this work is:
>
> y = concatenate( array((x[0],),ndmin=1), x)
>
> which is kind of cryptic. (If
On Mon, Aug 4, 2008 at 09:58, Nicolas Chopin <[EMAIL PROTECTED]> wrote:
> Hi list,
> I want to do this:
>
> y = concatenate(x[0],x)
>
> where x is a 1d array.
> However, the only way I managed to make this work is:
>
> y = concatenate( array((x[0],),ndmin=1), x)
>
> which is kind of cryptic. (If I
Hi list,
I want to do this:
y = concatenate(x[0],x)
where x is a 1d array.
However, the only way I managed to make this work is:
y = concatenate( array((x[0],),ndmin=1), x)
which is kind of cryptic. (If I remove ndmin, numpy still complains.)
1. Is there a better way?
2. Would it be possib