Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fscknumpy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
fscknumpy
1y ago
I had to make a HN account just to show this numpy "feature". Create an array like this np.zeros((10, 20, 30)), with shape (10, 20, 30). Clearly if you ask for array[0][:, [0,1]].shape you will get an output of shape (20, 2), beca