I have a 2D numpy array, FilteredOutput, that has 2 columns and 10001 rows, though the number of rows is a variable.
I am trying to take the 2nd column of FilteredOutput and use it to populate a new 1D numpy array called timeSeriesArray using some code I found):
timeSeriesArray = np.array(FilteredOutput[:,0])
But I am getting the following error message:
TypeError: list indices must be integers, not tuple
Why?
[:,1].