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

ParameterTypeDescription
tableDataFrame
idxnumber

Returns

Row

Source

src/dataframe.ts:564

Properties

PropertyModifierType
idxreadonlynumber
tablepublicDataFrame

Accessors

cells

get cells(): Iterable <Cell>

Returns

Iterable <Cell>

Source

src/dataframe.ts:588

Methods

get()

get(columnName): any

Returns this row's value for the specified column

Parameters

ParameterTypeDescription
columnNamestring

Returns

any

Source

src/dataframe.ts:606


toDart()

toDart(): any

Returns

any

Source

src/dataframe.ts:610


toMap()

toMap(): object

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

Returns

object

Source

src/dataframe.ts:591