({{, (RefLink[HeaderLines, paclet:ref/HeaderLines]) 
is an option for (RefLink[SemanticImport, paclet:ref/SemanticImport]) and related functions that specifies how many of the initial rows should be considered part of a column header.}})

OpenersNotesSection(Spacer1)Details

HeaderLines->val specifies that the first val lines are to be interpreted as a header, where zero indicates no header.

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Control the number of lines of input used in a header key:

SemanticImportString["a
b
c",Automatic,"NamedColumns",HeaderLines->0]

SemanticImportString["a
b
c",Automatic,"NamedColumns",HeaderLines->1]

SemanticImportString["a
b
c",Automatic,"NamedColumns",HeaderLines->2]

The lines to use as headers are determined after the processing of other options:

SemanticImportString["a
b
c",Automatic,"NamedColumns",HeaderLines->1,ExcludedLines->{1}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[SemanticImport, paclet:ref/SemanticImport])  ▪  (RefLink[SemanticImportString, paclet:ref/SemanticImportString])}})}})