[Numpy-discussion] Broadcasting for hstack, vstack etc

Bill Baxter wbaxter@gmail....
Thu Mar 15 10:07:29 CDT 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?


More information about the Numpy-discussion mailing list