Python Numpy Array Find Index Of Element Within A Div