pysubgroup is a Python library for the data analysis task of subgroup discovery.
pip install pysubgroup