What is the difference between grid[index] VS grid[index, :] in python
What is the difference between grid[index] VS grid[index, :] in python Question: In this https://colab.research.google.com/drive/1gS2aJo711XJodqqPIVIbzgX1ktZzS8d8?usp=sharing , they used np.max(qtable[new_state, :]) But I did an experiment and I don’t understand the need of : . My experiement show the same value, same array shape import numpy as np N = 10 grid = np.array([[np.array(k) for i …