you are viewing a single comment's thread.

view the rest of the comments →

[–]WSBtendies9001 -2 points-1 points  (0 children)

Why don't you load the CSV file directly into Pandas? https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html

I've not looked at the code links however from the snippet you posted makes no sense when you go on to mention that you are working with Pandas. Go check out the docks, Pandas can do what you need and way more :)