Yq Loop Through Array Javascript Push Method In Python