Skip to content

skrub

The skrub pack checks tabular encoders, fuzzy joiners, and DataOps choices against skrub 0.12 on files that import skrub.

Rules Safe fix Unsafe fix Manual fix
6 0 0 6
Rule Severity Fix What it finds
minhash-murmur-with-minmax error none MinHashEncoder raises ValueError("minmax_hash encoding is not supported with the murmur hashing function") during fit when hashing="murmur" is combined with minmax_hash=True.
minhash-odd-components-minmax error none MinHashEncoder computes min-hash and max-hash pairs when minmax_hash=True, so an odd n_components raises ValueError during fit.
string-encoder-hashing-vocabulary error none StringEncoder(vectorizer="hashing") uses scikit-learn's stateless HashingVectorizer, so passing a non-None vocabulary raises ValueError during fit.
Rule Severity Fix What it finds
joiner-conflicting-keys error none Joiner, AggJoiner, InterpolationJoiner, MultiAggJoiner, and fuzzy_join raise ValueError when the shared key argument (key, keys, or on) is passed together with per-table keys (main_key/aux_key, main_keys/aux_keys, or left_on/right_on).
choose-log-nonpositive-low error none skrub.choose_float and skrub.choose_int raise ValueError("To use log space 'low' must be > 0") whenever log=True is combined with a zero or negative lower bound.
unfitted-keep-subsampling error none DataOp.skb.make_learner, make_grid_search, and make_randomized_search default to fitted=False, and skrub raises ValueError when keep_subsampling=True is passed without fitted=True.