Releases: uwdata/arquero
v4.8.2
v4.8.1
v4.8.0
Changes from v4.7.2:
- Add
escape()
expression helper to "escape" JavaScript functions and values from internal parsing. - Add
names()
selection helper for renaming columns by index. (#195) - Add support for array literals and escaped values in expression parsing.
- Fix
rollup()
output early exit condition to support literal expressions without aggregate operations. - Improve TypeScript types. (#182)
Description
This version adds the aq.escape()
expression helper: this allows users to pass in JavaScript functions that are invoked as-is to process row objects: no internal parsing and rewriting, thus supporting closures! The helper can be applied anywhere Arquero accepts single-table table expressions, though note that it sidesteps internal optimizations and breaks portability (serialization) of Arquero queries to worker threads or other data sources. The escape()
function also accepts literal values, for example allowing Date
or Map
instances to be assigned directly as a column values.
This version also adds the aq.names()
selection helper that makes it easier to select and rename columns based on their integer column indices.
v4.7.2
v4.7.1
v4.7.0
Changes from v4.6.0:
- Add table
transform()
method to allow lightweight application of custom transformations. - Add
agg()
helper method as a shorthand for computing a single aggregate value. - Add default 100 row limit to
toHTML()
andtoMarkdown()
. (#175) - Update to
toHTML()
to align column header similarly to the column body. (#176)
v4.6.0
Changes from v4.5.0:
- Add
fromFixed()
andloadFixed()
methods to read fixed-width format text files. - Add
skip
andcomment
options forfromCSV()
. (#165) - Add
names
option tofromCSV()
to name columns in header-less files. - Add
op.object()
function. - Add
op.row_object()
function. - Add object/map input support to table
assign()
method. - Revert Apache Arrow to v3.0.0 until build errors caused by v4.0.0 are resolved. (#166)
v4.5.0
Changes from v4.4.0:
- Add
decimal
separator option tofromCSV()
. (#160) - Add table
object()
method to extract individual row objects. - Add table
values()
method to return an iterator over column values, respecting filter and orderby criteria. - Add table
array()
method to return a column value array, respecting filter and orderby criteria. - Add more detailed messages for variable and function lookup errors.
- Fix error message for when no window functions are allowed.
- Refactor expression parser error message handler.
- Deprecate table
columnArray()
method in favor of tablearray()
method.