Python Delete Rows From Array To Hashmap