I need to modify the code in the file [url removed, login to view] to make it more efficient. It takes observations from the file Sample [url removed, login to view] and converts them into what its in output.csv. Currently the code handles in decent time up to 1,000 obs, but after that gets extremely inefficient (memory wise) and can take up to 4 days to process 4,000 obs. The goal here is to process 20,000 or more in a matter of hours or minutes. Ping me if there are any questions.