How to find all occurrences of an element in a list How to find all occurrences of an element in a list numpy numpy