Python Numpy Find Index Of Element Within A Div