[Numpy-discussion] Broadcasting for hstack, vstack etc

Bill Baxter wbaxter at gmail.com
Thu Mar 15 11:07:29 EDT 2007


I just had a need to append a column of 1's to an array, and given how
big numpy is on broadcasting I thought this might work:

   column_stack((m1,m2, 1))

But it doesn't.
Is there any reason why that couldn't or shouldn't be made to work?

--bb



More information about the NumPy-Discussion mailing list