Js Iterate Through Array Pandas