I have an issue within the for loop of this python code. I think it is due to the method of copying and writing to a data frame. There is no actual error message but my jupy