I want to remove, from a np array, two values - 0 and 'Draw'. But, I am receiving the below error message. I realize I could remove the values using index positions, but for a large array it would be tiresome. Is there a way to fit the np.where condition to achieve this? I went through this answer, but couldn't understand. ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Team_Names = np.delete(Team_Names, np.where(Team_Names == [0] or Team_Names == ['Draw']))