Suppose I have 3-d numpy array like this:
arr = np.random.randn(14,10,10)
I need to resize it to shape of (14, 20, 20)
. That means the first dimension is separately resized from (10, 10)
to (20, 20)
with interpolation method.
How could I do this?