I am trying to append from an excel file to another excel using a loop, and it shows assertion error although I am adding the same number of retrieved headers as columns in