Prepping tables for machine learning
skrub (formerly dirty_cat) is a Python library that facilitates prepping your tables for machine learning.
If you like the package, spread the word and ⭐ this repository!
What can skrub do?
skrub provides data assembling tools (TableVectorizer, fuzzy_join…) and encoders (GapEncoder, MinHashEncoder…) for morphological similarities, for which we usually identify three common cases: similarities, typos and variations
See our examples.
What skrub cannot do
Semantic similarities are currently not supported. For example, the similarity between car and automobile is outside the reach of the methods implemented here.
This kind of problem is tackled by Natural Language Processing methods.
skrub can still help with handling typos and variations in this kind of setting.
For a detailed description of the problem of encoding dirty categorical data, see Similarity encoding for learning with dirty categorical variables  and Encoding high-cardinality string categorical variables .
There are currently no PiPy releases. You can still install the package from the GitHub repository with:
pip install git+https://github.com/skrub-data/skrub.git
Dependencies and minimal versions are listed in the setup file.
The best way to support the development of skrub is to spread the word!
Also, if you already are a skrub user, we would love to hear about your use cases and challenges in the Discussions section.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.