notebook — logTable()
Description
The logTable() method of the notebook object renders a 2D array as an ASCII table below the active cell. It is primarily intended for quick DataFrame inspection and debugging.
Signature
notebook.logTable(value)- Scope
notebook- Family
display- Returns
none
Argument
value(array | dataFrame)- The tabular data to display as an ASCII table below the active cell.
Example
// create 2D array
var rows = [
['A', 'B'],
['C', 'D']
];
// log rows
notebook.logTable(rows);