So I have an example array, say:
import numpy as np
np.array([[[ 85, 723]],
[[ 86, 722]],
[[ 87, 722]],
[[ 89, 724]],
[[ 88, 725]],
[[ 87, 725]]])
What I want to do is subtract a number from only the second column, say 10 for example. What I hope to have the output look like is something like this:
np.array([[[ 85, 713]],
[[ 86, 712]],
[[ 87, 712]],
[[ 89, 714]],
[[ 88, 715]],
[[ 87, 715]]])
I have tried using np.subtract, but it does not support subtraction along an axis (at least to my knowledge).