I am reading in a .csv file saved from an excel document. When reading the file I have found that my program ONLY reads the last line of the file. The code is as follows.
When I call the function on a particular file it only prints to the screen the last line of the file. I am not sure why this is the case. Any help would be appreciated.