dist/arquero.node.js
/**
   * Extract rows with indices from start to end (end not included), where
   * start and end represent per-group ordered row numbers in the table.
   * @param {number} [start] Zero-based index at which to start extraction.
   *  A negative index indicates an offset from the end of the group.
   *  If start is undefined, slice starts from the index 0.
   * @param {number} [end] Zero-based index before which to end extraction.
   *  A negative index indicates an offset from the end of the group.
   *  If end is omitted, slice extracts through the end of the group.
   * @return {this} A new table with sliced rows.
   * @example table.slice(1, -1)
   */
Extract rows with indices from start to end (end not included), where
start and end represent per-group ordered row numbers in the table.
@param {number} [start] Zero-based index at which to start extraction.
A negative index indicates an offset from the end of the group.
If start is undefined, slice starts from the index 0.
@param {number} [end] Zero-based index before which to end extraction.
A negative index indicates an offset from the end of the group.
If end is omitted, slice extracts through the end of the group.
@return {this} A new table with sliced rows.
Extract rows with indices from start to end ( end not included ) where start and end represent per - group ordered row numbers in the table . @param { number } [ start ] Zero - based index at which to start extraction . A negative index indicates an offset from the end of the group . If start is undefined slice starts from the index 0 . @param { number } [ end ] Zero - based index before which to end extraction . A negative index indicates an offset from the end of the group . If end is omitted slice extracts through the end of the group . @return { this } A new table with sliced rows .
slice(start = 0, end = Infinity) {
    if (this.isGrouped()) return super.slice(start, end);
    const indices = [];
    const nrows = this.numRows();
    start = Math.max(0, start + (start < 0 ? nrows : 0));
    end = Math.min(nrows, Math.max(0, end + (end < 0 ? nrows : 0)));
    this.scan(row => indices.push(row), true, end - start, start);
    return this.reify(indices);
  }
slice ( start = 0 , end = Infinity ) { if ( this . isGrouped ( ) ) return super . slice ( start , end ) ; const indices = [ ] ; const nrows = this . numRows ( ) ; start = Math . max ( 0 , start + ( start < 0 ? nrows : 0 ) ) ; end = Math . min ( nrows , Math . max ( 0 , end + ( end < 0 ? nrows : 0 ) ) ) ; this . scan ( row => indices . push ( row ) , true , end - start , start ) ; return this . reify ( indices ) ; }
Extract rows with indices from start to end (end not included), where
 start and end represent per-group ordered row numbers in the table.
Extract rows with indices from start to end ( end not included ) where start and end represent per - group ordered row numbers in the table .
// if not grouped, scan table directly