This will be a short post. I was trying to concatenate two numpy arrays, when I got this exception:
TypeError: only integer scalar arrays can be converted to a scalar index
I was following https://numpy.org/doc/stable/reference/generated/numpy.concatenate.html. It turned out I misread the