py-why/dowhy
DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
This project helps decision-makers understand the true causes and effects within their data, moving beyond simple predictions to robust causal reasoning. It takes in your datasets and a model of how you believe variables influence each other, then outputs insights like the impact of a marketing campaign or the root cause of a system failure. Business analysts, product managers, researchers, and operations engineers can use this to make more informed choices.
7,995 stars. Used by 2 other packages. Actively maintained with 27 commits in the last 30 days. Available on PyPI.
Use this if you need to understand not just what happened or what will happen, but why it happened and what would happen if you intervened.
Not ideal if you only need to predict outcomes based on correlations, rather than inferring causal relationships.
Stars
7,995
Forks
1,012
Language
Python
License
MIT
Category
Last pushed
Mar 12, 2026
Commits (30d)
27
Dependencies
13
Reverse dependents
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/py-why/dowhy"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Recent Releases
Related frameworks
py-why/EconML
ALICE (Automated Learning and Intelligence for Causation and Economics) is a Microsoft Research...
uber/causalml
Uplift modeling and causal inference with machine learning algorithms
cdt15/lingam
Python package for causal discovery based on LiNGAM.
andrewtavis/causeinfer
Machine learning based causal inference/uplift in Python
DoubleML/doubleml-for-py
DoubleML - Double Machine Learning in Python