code: public Table first(int nRows) {
          int newRowCount = Math.min(nRows, rowCount());
          return inRange(0, newRowCount);
      }
docs: Returns a new table containing the first {@code nrows} of data in this table