Let's say I have a CSV with dozens or hundreds of columns and I want to pull in just about 2 or 3 columns. I know about the colClasses
solution as described here but the code gets very unreadable.
I want something like usecols
from pandas' read_csv
.
Loading everything and just selecting afterwards is not a solution (the file is super big, it doesn't fit in memory).