Wed Feb 8 10:35:05 CST 2012
On Wed, Feb 8, 2012 at 11:32 AM, Stephanie Cooke
> When I try to use the command hstack, I am given the error message
> "TypeError: hstack() takes exactly 1 argument (2 given)". I have a 9X1
> array (called array) that I would like to concatenate to a 9X2 matrix
> (called matrix), and I try to do this by typing the command
> hstack(array,matrix). I would appreciate any help in getting this to
Try hstack([array, matrix]). The input needs to be put into a single
sequence (here a list, but tuple, etc. would work too).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion