Python based csv read only columns and rebuild the csv with the filtered columns

Viewed 44

I have a CSV file that may change over time in terms of the number of columns, but I need to read always the names of the same columns. How can I filter the columns without reading the entire document and build a new CSV with only the columns of interest? is it possible?

Thank you in advance,

0 Answers
Related