Apr-22-2022, 10:44 AM
(This post was last modified: Apr-22-2022, 10:44 AM by Gribouillis.)
It looks clear, if
F
is a list and ind
is a range object, F[ind]
is not a valid operation. It would be valid if ind was an integer or a slice object. Perhaps you meant F[:-1]
instead of F[ind]
?