Skip to content

tabmat 4.1.0

Latest
Compare
Choose a tag to compare
@MarcAntoineSchmidtQC MarcAntoineSchmidtQC released this 07 Nov 20:34
· 1 commit to main since this release
d3552a0

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 returned nan values for the standard deviation due to numerical instability if using np.float32 precision.

Full Changelog: 4.0.1...4.1.0