4.1.0 - 2024-11-07
New feature:
- Added a new function, :func:
tabmat.from_df
, to convert any dataframe supported by narwhals into a :class:tabmat.SplitMatrix
.
Other changes:
- Allow :class:
CategoricalMatrix
to be initialized directly with indices and categories. - Added checks for dimension and
dtype
mismatch in :meth:MatrixBasesandwich.sandwich
.
Bug fix:
- Fixed a bug in :meth:
tabmat.CategoricalMatrix.standardize
that sometimes returnednan
values for the standard deviation due to numerical instability if usingnp.float32
precision.
Full Changelog: 4.0.1...4.1.0