I created a multi-dimensional numpy array using this code:
pt=[[0 for j in range(intervals+1)] for i in range(users+1)]
A `print (np.shape(pt)) gives me
(1001,169)
I then proceeded to populate the array (code not shown) before trying to select everything but the first column to feed into matplotlib.
I referred to posts on how to select columns from a multi-dimensional array: here here and here
all of whom say I should do:
pt[:,1:]
to select everything but the first column. However this gives me the error message:
TypeError: list indices must be integers or slices, not tuple