ColumnSpec
Interface: ColumnSpec<Name, V>
Section titled “Interface: ColumnSpec<Name, V>”Defined in: src/core/columns.ts:21
One column of a CSV time-series.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
Name extends string | string |
V | unknown |
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
name | Name | Output property name on each row object. | src/core/columns.ts:23 |
parse | ColumnParser<V> | Cell parser (see col). | src/core/columns.ts:25 |
optional? | boolean | When true, a row missing this (trailing) column is still kept. By default a row with fewer cells than the number of required columns is dropped. | src/core/columns.ts:30 |