table
rows of values under shared column names
1# table2[{a: 1, b: 2}] to tabletable([{a: 1, b: 2}])Example outputCtrl+Enter to run
syntax
Section titled “syntax”1# t.col is a column2[{a: 1}, {a: 2}].table.a[1, 2]Example outputCtrl+Enter to run
Functions that take it
Section titled “Functions that take it”listconvert to a list: a string’s characters, a map’s [key, value] pairs, a set’s items, a table’s rows as maps, or a copy of a listtablea table from a list of maps, one map per rowwherekeep only the rows that pass the test f, which gets each row as a mapselectkeep only the named columns, in the order givenrejectremove the named columnsupdatea new table with one column’s cells replaced by f(cell)inserta new table with an added last column col, holding f(row) for each row, where the row is a mapsort_bythe rows sorted by the values in a column, smallest firstsort_by_descthe rows sorted by the values in a column, largest firstto_csvCSV text from a table, a list of maps, or a list of listsstreamsthe TCP conversations in a table from pcap, each connection’s payloads joined in the order they were captured, as src, dst, packets and datasevenzpack a table of name and data into a 7z archive, compressed with LZMA2
Example results generated on 2026-11-04. Ones using now, today or randomness will differ when you run them.