# Table from csv file with two header rows [duplicate]

I have multiple csv files to read and create a table with one or two headerlines. (parameters/units) I would like to use two header lines from this files using \pgfplotstabletypeset. Can anyone help me? It would be enough to give a parameter containing the number of header lines to extract.

\pgfplotstabletypeset[
%skip first n=1,
col sep=comma, % the seperator in our .csv file
every head row/.style={before row={\toprule}, after row={\midrule}},
every last row/.style={after row=\bottomrule},              ]{test.csv}


• This doesn't really answer the question, which is about CSV files and pgfplotstable specifically. – Alan Munn Feb 26 '18 at 14:27