DsvTable

data class DsvTable(val header: List<String>, val records: Sequence<List<String>>)(source)

Represents a DSV table with a header row and data records.

Constructors

Link copied to clipboard
constructor(header: List<String>, records: Sequence<List<String>>)

Properties

Link copied to clipboard

The column names from the first row.

Link copied to clipboard

The data rows, each containing values for all columns. A Sequence is used to support streaming large files.

Functions

Link copied to clipboard

Converts records to a sequence of maps, using header values as keys.