#108108th of 168 in ML frameworks and librariesFor data and documents, data analysis

dowhy

Python library for causal effect estimation, refutation and root cause analysis

Stars
8.4k
License
MIT
Last commit
Nov 2026
Last release
Nov 2025
Language
Python
Stars, last 29 weeks+352
21 Apr 2026: 8,049 stars28 Apr 2026: 8,057 stars5 May 2026: 8,067 stars12 May 2026: 8,078 stars19 May 2026: 8,085 stars26 May 2026: 8,094 stars2 Jun 2026: 8,105 stars9 Jun 2026: 8,116 stars16 Jun 2026: 8,133 stars23 Jun 2026: 8,148 stars30 Jun 2026: 8,167 stars7 Jul 2026: 8,182 stars14 Jul 2026: 8,189 stars21 Jul 2026: 8,210 stars28 Jul 2026: 8,221 stars4 Aug 2026: 8,230 stars11 Aug 2026: 8,244 stars18 Aug 2026: 8,256 stars25 Aug 2026: 8,266 stars1 Sept 2026: 8,282 stars8 Sept 2026: 8,292 stars15 Sept 2026: 8,303 stars22 Sept 2026: 8,315 stars29 Sept 2026: 8,326 stars6 Oct 2026: 8,331 stars13 Oct 2026: 8,350 stars20 Oct 2026: 8,360 stars27 Oct 2026: 8,375 stars3 Nov 2026: 8,386 stars10 Nov 2026: 8,401 stars

8,049 on 21 Apr 20268,401 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

DoWhy is a Python library for causal inference. It walks through modeling, identifying, estimating and refuting causal effects, and its graphical causal model module supports interventions, counterfactuals and anomaly attribution. It is not an LLM tool: it works on tabular data with NetworkX graphs and can call EconML estimators.

Who it is for: Data scientists doing causal inference and root cause analysis in Python

Strengths

  • Four-step API (model, identify, estimate, refute) with refutation tests for any estimator
  • Graphical causal model module covers counterfactuals, interventional sampling and root cause analysis
  • Can use EconML CATE estimators such as DML through the same interface
  • Many example notebooks and a user guide; installs via pip, poetry or conda

Weaknesses

  • No LLM or agent features; unrelated to model serving or chat tooling
  • Needs a causal graph or explicit causal assumptions from the user
  • pygraphviz install can fail on some platforms
  • Last release is 2025-11-08, so newer commits are not in a release

What it needs

  • no GPU
  • Needs Python 3.8+, NetworkX, pandas, numpy, scikit-learn, EconML (optional), pydot or pygraphviz (optional)

Quick answers

Is dowhy open source?

Yes. Its code is on GitHub under the MIT license.

Does dowhy need a GPU?

No, it runs without one.

Also in ML frameworks and libraries

See all 168
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.8k stars+1,522 (+0.9%) in 30 daysApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd105.4k stars+1,043 (+1.0%) in 30 dayscustom license93 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,015 (+1.6%) in 30 daysAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+101 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+514 (+1.0%) in 30 daysMIT92 out of 100