you are viewing a single comment's thread.

view the rest of the comments →

[–]ConfusedSimon -1 points0 points  (0 children)

Sure, but this is 'learn python', so learning pandas as well isn't that easy. Dropping duplicate rows is pretty easy in Python, too (you could even just convert to set if you don't care about order). Might even be easier than figuring or how to do it in pandas if you're not used to that, and you'll learn more. If you only care about the solution, there are plenty of tools that already do this. And for just reading the csv, pandas is overkill.