WOLFRAM

HeaderLines
HeaderLines

is an option for SemanticImport and related functions that specifies how many of the initial rows should be considered part of a column header.

Details

  • HeaderLinesval specifies that the first val lines are to be interpreted as a header, where zero indicates no header.

Examples

Basic Examples  (2)Summary of the most common use cases

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

Out[1]=1
Out[2]=2
Out[3]=3

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

Out[1]=1
Wolfram Research (2014), HeaderLines, Wolfram Language function, https://reference.wolfram.com/language/ref/HeaderLines.html.
Wolfram Research (2014), HeaderLines, Wolfram Language function, https://reference.wolfram.com/language/ref/HeaderLines.html.

Text

Wolfram Research (2014), HeaderLines, Wolfram Language function, https://reference.wolfram.com/language/ref/HeaderLines.html.

Wolfram Research (2014), HeaderLines, Wolfram Language function, https://reference.wolfram.com/language/ref/HeaderLines.html.

CMS

Wolfram Language. 2014. "HeaderLines." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HeaderLines.html.

Wolfram Language. 2014. "HeaderLines." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HeaderLines.html.

APA

Wolfram Language. (2014). HeaderLines. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HeaderLines.html

Wolfram Language. (2014). HeaderLines. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HeaderLines.html

BibTeX

@misc{reference.wolfram_2024_headerlines, author="Wolfram Research", title="{HeaderLines}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/HeaderLines.html}", note=[Accessed: 05-January-2025 ]}

@misc{reference.wolfram_2024_headerlines, author="Wolfram Research", title="{HeaderLines}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/HeaderLines.html}", note=[Accessed: 05-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_headerlines, organization={Wolfram Research}, title={HeaderLines}, year={2014}, url={https://reference.wolfram.com/language/ref/HeaderLines.html}, note=[Accessed: 05-January-2025 ]}

@online{reference.wolfram_2024_headerlines, organization={Wolfram Research}, title={HeaderLines}, year={2014}, url={https://reference.wolfram.com/language/ref/HeaderLines.html}, note=[Accessed: 05-January-2025 ]}