notebook — output()

Description

The output() method of the notebook object object displays tabular data in the notebook output area. It is intended for working with CSV files and large datasets that are not suitable for ASCII table rendering.

Signature

notebook.output(value)
Scope
notebook
Family
display
Returns
none

Arguments

value (array | dataFrame)
The tabular data to display in the notebook output area. If no data or undefined value is passed, the output will be cleared.
limit (number)
The number of rows to display into the dataFrame. (Default: 100.)

Example

// create 2D array
var rows = [
  ['A', 'B'],
  ['C', 'D']
];

// display rows
notebook.output(rows);