show method

void show([
  1. int lines = 5
])

Print info and sample data

Implementation

void show([int lines = 5]) {
  print(
      '${_columns.length} columns and $length rows: ${columnsNames.join(', ')}');
  var l = lines;
  if (length < lines) {
    l = length;
  }
  final rows = _matrix.data.sublist(0, l);
  _info.printRows(rows);
}