Skip to main content

Row

Represents a row. Allows for quick property access like "row.height".

Indexable

[columnName: string]: any

Constructors

new Row()

new Row(table, idx): Row

Creates a Row from the specified DataFrame and row index.

Parameters

ParameterType
tableDataFrame
idxnumber

Returns

Row

Source

src/dataframe.ts:573

Properties

PropertyModifierType
idxreadonlynumber
tablepublicDataFrame

Accessors

cells

get cells(): Iterable <Cell>

Returns

Iterable <Cell>

Source

src/dataframe.ts:597

Methods

get()

get(columnName): any

Returns this row's value for the specified column

Parameters

ParameterType
columnNamestring

Returns

any

Source

src/dataframe.ts:611


toDart()

toDart(): any

Returns

any

Source

src/dataframe.ts:615


toMap()

toMap(): object

Returns a JS object with column names as keys and values as values.

Returns

object

Source

src/dataframe.ts:600