(columns)
| 16373 | return this._toDelimited(delimiter, header, escapeSpecialChars ? atomFn : str => str) |
| 16374 | } |
| 16375 | _getMatrix(columns) { |
| 16376 | const matrix = [] |
| 16377 | this.forEach(subparticle => { |
| 16378 | const row = [] |
| 16379 | columns.forEach(col => { |
| 16380 | row.push(subparticle.get(col)) |
| 16381 | }) |
| 16382 | matrix.push(row) |
| 16383 | }) |
| 16384 | return matrix |
| 16385 | } |
| 16386 | _toArrays(columnNames, atomFn) { |
| 16387 | const skipHeaderRow = 1 |
| 16388 | const header = columnNames.map((columnName, index) => atomFn(columnName, 0, index)) |
no test coverage detected