Release 4.3.1
Changes from 4.3.0 to 4.3.1
This is a maintenance release focused on CTable nested-column ergonomics,
grouped reductions, and API/documentation polish.
CTable nested columns and grouped reductions
- Nested column names in
group_by()results: grouped output columns can now
preserve dotted/nested names such astrip.secinstead of requiring valid
Python identifiers. - Column-object selectors:
CTable.group_by()andCTable.sort_by()now
acceptColumnobjects as well as string names, enabling idioms such as
t.group_by(t.trip.sec)andt.sort_by(t.trip.sec). - Grouped arg reductions:
CTableGroupBynow supportsargmin()and
argmax(), plusagg({"col": "argmin"})/agg({"col": "argmax"}).
Results are logical row positions in the grouped table or view; groups with no
non-null values return-1.
NDArray constructor ergonomics
blosc2.array(): added a NumPy-like constructor for NDArrays. It mirrors
blosc2.asarray()but defaults tocopy=True, so passing an existing
NDArraycreates a copy unlesscopy=Falseorcopy=Noneis requested.
Documentation
- Expanded the CTable reference with
RowTransformer,Column.row_transformer,
andCTableGroupBy.argmin/argmaxdocumentation. - Added
blosc2.ndarray(),blosc2.dictionary(), and related public schema
factory functions to the Schema Specs reference. - Moved
blosc2.group_reduce()into the Reduction Functions reference and
updated its example to use Blosc2 NDArrays.