From aa2addd235d0372efa17c5400b88d6d6da4a2c09 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 7 Jun 2024 15:37:59 +0200 Subject: [PATCH] :rewind: use njab after fix in downstream pkg underlying case is polars import in mrmr-selection, see: https://github.com/RasmussenLab/njab/pull/13 --- vaep/__init__.py | 4 ++-- vaep/sklearn/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vaep/__init__.py b/vaep/__init__.py index 9ddda288d..059ccf970 100644 --- a/vaep/__init__.py +++ b/vaep/__init__.py @@ -8,7 +8,7 @@ import logging as _logging from importlib import metadata -# import njab +import njab import vaep.logging import vaep.nb @@ -31,6 +31,6 @@ # set some defaults -# njab.pandas.set_pandas_number_formatting(float_format='{:,.3f}') +njab.pandas.set_pandas_number_formatting(float_format='{:,.3f}') vaep.plotting.make_large_descriptors('x-large') diff --git a/vaep/sklearn/__init__.py b/vaep/sklearn/__init__.py index dd1bc0e3e..76b32d5f3 100644 --- a/vaep/sklearn/__init__.py +++ b/vaep/sklearn/__init__.py @@ -4,7 +4,7 @@ """ import logging -# from njab.sklearn import run_pca +from njab.sklearn import run_pca from sklearn.impute import SimpleImputer from vaep.io import add_indices