is an option for SemanticImport and related functions that specifies which lines should be ignored for further processing.
ExcludedLines
is an option for SemanticImport and related functions that specifies which lines should be ignored for further processing.
Examples
Basic Examples (2)
This file contains explanatory text followed by a table of data:
Import["ExampleData/Isomerization.dat", "Lines"]Skip the lines of text to import the table:
SemanticImport["ExampleData/Isomerization.dat", Automatic, "NamedRows", ExcludedLines -> Range[1, 5]]Select only the non-prime lines:
SemanticImportString["1
2
3
4
5
6
7
8
9
10
", Automatic, "Columns", ExcludedLines -> Select[Range[10], PrimeQ]]See Also
History
Text
Wolfram Research (2014), ExcludedLines, Wolfram Language function, https://reference.wolfram.com/language/ref/ExcludedLines.html.
CMS
Wolfram Language. 2014. "ExcludedLines." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ExcludedLines.html.
APA
Wolfram Language. (2014). ExcludedLines. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExcludedLines.html
BibTeX
@misc{reference.wolfram_2026_excludedlines, author="Wolfram Research", title="{ExcludedLines}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ExcludedLines.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_excludedlines, organization={Wolfram Research}, title={ExcludedLines}, year={2014}, url={https://reference.wolfram.com/language/ref/ExcludedLines.html}, note=[Accessed: 12-June-2026]}