[SciPy-user] Concatenating 1D arrays

Rudolph van der Merwe rudolphv at gmail.com
Fri Feb 10 00:35:54 CST 2006

On 2/9/06, Robert Kern <robert.kern at gmail.com> wrote:
> Okay, I presumed get_column_vector_from_somewhere() actually gave you a column
> vector. If it's actually giving you shape-(n,) arrays instead of shape-(n,1), use
>   x = column_stack(x)
> instead.

Ah... column_stack() does the trick. I guess I should have dug through
the documentation a bit longer.


Rudolph van der Merwe

More information about the SciPy-user mailing list