[SciPy-user] concatenate, r_ ...

Bill Baxter wbaxter at gmail.com
Sun Jul 30 10:31:16 EDT 2006


> By the way, you seem puzzled by the behaviour of column_stack. I think
> it fits well with the docstring.

What was unexpected to me was its behavior when handling inputs that
are not 1-d.  The docstring doesn't say what will happen in that case.
 But my expectation is that it should associate.  I.e.:

    column_stack(( a,b,c ))

should be the same as:

    column_stack(( column_stack(( a,b )),c ))

But it's not.  column_stack((a,b,c)) is the same as:

    column_stack(( column_stack(( a,b )).transpose() ,c ))

--bb



More information about the SciPy-User mailing list