In a python tuple I want to acces the first entry. I can do that by writing:
example_tuple[0]
Now this first entry is an array of float. From this array I want to get all entries except the last one. Like descibed here, I did this by writing:
example_array[:-1]
Now I want to stack these two features and I tried it with the following command:
example_tuple[0[:-1]]
This is producing the following error:
TypeError: 'int' object is not subscriptable
I'm not sure what's wrong as there is no integer involved in this.