Re: [Numpy-discussion] Matrix opreation

2018-05-22 Thread Eric Wieser
I’d recommend asking this kind of question on stackoverflow in future, but you can do that with: b = (a .reshape((2, 2, 4, 4)) # split up the (4,) axis into (2, 2) .transpose((2, 0, 3, 1)) # reorder to (4, 2, 4, 2) .reshape((8, 8)) # collapse adjacent dimensions ) ​ On Tue,

[Numpy-discussion] Matrix opreation

2018-05-22 Thread Yu Peng
Hi, I want to make an opreation like this: if I hava a matrix: a= array([[[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11], [12, 13, 14, 15]], [[16, 17, 18, 19], [20, 21, 22, 23], [24, 25, 26, 27], [28, 29, 30, 31]], [[32, 33,

Re: [Numpy-discussion] Submit a BoF at SciPy 2018, before June 27!

2018-05-22 Thread Benjamin Root
Question: I submitted a BoF (and code sprint), but I didn't get any email acknowledgement. Were we supposed to? How can we know that the submission was successful? On Tue, May 22, 2018 at 7:01 PM, Nelle Varoquaux wrote: > Dear all, > > (apologies for the cross-posting) > > The SciPy conference w

[Numpy-discussion] Submit a BoF at SciPy 2018, before June 27!

2018-05-22 Thread Nelle Varoquaux
Dear all, (apologies for the cross-posting) The SciPy conference would like to invite you to submit proposals for Birds of a Feather (BOF) sessions at this year's SciPy! BOFs usually include short presentations by a panel and a moderator with the bulk of the time spent opening up the discussion t