3 ms·
Its interesting you mention CSV as I had an issue with CSV with Java many years ago. I was trying to cut a couple of columns out of a CSV and tried to write it
by agentgt 9y ago
Its interesting you mention CSV as I had an issue with CSV with Java many years ago.
I was trying to cut a couple of columns out of a CSV and tried to write it in Java and for some reason either the CSV library was slow or maybe I didn't have the right buffered input but I ended up writing a python script that outperformed my Java code (which reminds me I meant to revisit that).
Anyway here is the python code (it might not be the exact code I used as I didn't update it but whatever):
https://gist.github.com/agentgt/1383185 https://gist.github.com/agentgt/1383185