Recent twts in reply to #msaijda

Will I ever get a good #numpy intuition?

I was making some clumsy left-right comparisons and swaps with grid.T[1:] vs. grid.T[:-1] and it worked. Now I tried grid vs. np.roll(grid, …) and I’m struggling to make the masks for the swap work :(

⤋ Read More


Login to join in on this yarn.