When did numpy stop accepting floats as index. I get an error when using a float as an index, even when I use
x = np.arange(10)
i = 10 / 2
print(x[i])
I know this was deprecated, but cannot find back what version started to throw an error. I have many students submitting solutions to programming exercises that work for them and not for me. So their version is too old, but I want to know what version they need to upgrade to (I know the latest). When did numpy implement this change?