Numpy Array Get Index Of Element In Dataframe To Csv