I\'m having difficulty in converting lists into dataframe after a loop. I was getting results for the first 3 lines, however the rest of the output are NaN values. Here\'s m