I am looking for a a way to read just the header row of a large number of large CSV files.
Using Pandas, I have this method available, for each csv file:
import pandas as pd get_col = list(pd.read_csv("first_test_pipe.csv",sep="|",nrows=1).columns) print(get_col)