The values of the column that I have highlighted are taken from each row, whereas the other column values are extracted from PDF. I am entering the data once all the process is done. So I AM facing the error that as the first two values are in for each while writing the data, at last, it gives me only the last value of each, not each value. How to pass the each value to the CSV file after all the process is done
Thanks for your reply
Yes i have done the same but my problem is that my for each ends first and then only the data will get extracted from pdf after scraping i am writing the scraped values in CSV file. I need to add the id and date which is in for each data table where my condition that i have passed is true.
So at this stage the last value is alone taken not the all