Yes, dstack is what I need.
Thanks for the quick response,
Mark
On 10 apr, 15:38, "Bill Baxter" <[EMAIL PROTECTED]> wrote:
> I'm pretty sure dstack([x,y]) is what you're after.
>
> --bb
>
> On 4/10/07, mark <[EMAIL PROTECTED]> wrote:
>
> > Hello list -
>
> > I want to combine two arrays into one,
I'm pretty sure dstack([x,y]) is what you're after.
--bb
On 4/10/07, mark <[EMAIL PROTECTED]> wrote:
> Hello list -
>
> I want to combine two arrays into one, and I cannot find a clean way
> to do it.
>
> I have the following two arrays:
>
> >>> x = array([[1, 2, 3],
>[4, 5, 6]])
Hello list -
I want to combine two arrays into one, and I cannot find a clean way
to do it.
I have the following two arrays:
>>> x = array([[1, 2, 3],
[4, 5, 6]])
>>> y = array([[10, 20, 30],
[40, 50, 60]])
Now I want to make a new array z, such that z[:,:,0] gives