On Wed, Feb 8, 2012 at 11:32 AM, Stephanie Cooke <cooke.stepha...@gmail.com>wrote:
> Hello, > > 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 > work. > > Thanks, > > Stephanie Try hstack([array, matrix]). The input needs to be put into a single sequence (here a list, but tuple, etc. would work too). Best, -Tony
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion