How to extract a sub list in Groovy

Groovy has a built-in method on the List type to return a view of the portion of a List object between the specified fromIndex, inclusive, and toIndex, exclusive. The method…

How to ignore top rows in CSV or TSV files

Working with CSV or TSV files, we often ought to ignore the header row (aka. the column headers) before reading the rest of the file. To strip out the first…