
Causal Inference and Discovery in Python
Causal Inference and Discovery in Python is a practical book about applying causal reasoning and machine learning with Python. It moves from structural causal models, interventions, and counterfactuals to treatment-effect estimation and causal discovery, with exercises and code. Readers are expected to know basic Python, scientific libraries, probability, and statistics.
At a glance
- Introduces Pearlian concepts including structural causal models, interventions, and counterfactuals.
- Covers average and heterogeneous treatment-effect estimation, including modern machine-learning approaches.
- Explores causal discovery methods and graphical models.
- Pairs theoretical explanations with practical exercises and Python code.
- Includes topics ranging from a four-step causal-inference process to deep learning and NLP applications.
Reference price: $53.99
Price checked: Nov 14, 2026
View offerAhead of Black FridayExplore the selectionOften bought together
Pros and cons
Pros
- The scope connects causal foundations with practical estimation and discovery workflows.
- Python examples and exercises give readers material to apply alongside the conceptual explanations.
- The contents include both traditional causal methods and newer machine-learning topics.
Technical specifications
8 specifications| Publisher | Packt Publishing |
|---|---|
| Publication date | May 31, 2023 |
| Language | English |
| Print length | 456 pages |
| ISBN-10 | 1804612987 |
| ISBN-13 | 978-1804612989 |
| Weight listed | 1.71 pounds |
|---|---|
| Dimensions | 7.5 x 1.05 x 9.25 inches |
What to know before buying
Listing details to confirm
The listing expects basic Python and familiarity with scientific libraries, probability, and statistics. The title mentions DoWhy, EconML, and PyTorch, while the detailed description does not specify version requirements or a complete environment setup.
Who is it for?
A good fit for
- Data scientists and machine-learning engineers seeking to add causal methods to their Python toolkit.
- Researchers interested in causal inference, treatment-effect estimation, or causal discovery.
- Readers with causal-inference experience in another language who want to work with Python.
Less suited to
- Readers without basic Python, scientific-library, probability, and statistics knowledge.
- Readers seeking a general introduction to machine learning rather than a focused book on causality.
Customer reviews on Amazon
- 5 stars
77% 77% - 4 stars
8% 8% - 3 stars
5% 5% - 2 stars
3% 3% - 1 star
7% 7%
Aggregate ratings lean positive, with most ratings in the top category, but a smaller spread across lower star categories means experiences are not uniformly positive. These figures do not reveal what readers liked or disliked, so they are limited evidence about how well the book explains its stated Python and causal-method topics.
Frequently asked questions
What background does the book expect?
The listing says readers should have basic Python and Python scientific-library knowledge, along with basic probability and statistics.
What topics does it cover?
It covers causal models, interventions, counterfactuals, treatment-effect estimation, causal discovery, and applications involving deep learning and NLP.
Does it include practical Python work?
The listing describes theoretical explanations alongside practical exercises and Python code.
Alternative options

Building AI Agents with LLMs, RAG, and Knowledge Graphs: A practical guide to autonomous and modern AI agents
$41.99

Claude Code Visual Bible: A step-by-step guide to creating and publishing websites and mobile apps with AI
$26.99

The Claude Code Operating Model: Build scalable AI coding systems with Skills, MCP, Hooks, agent orchestration, and SDK patterns
$34.19

Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
$32.78

AI Evals in Practice: Testing, reliability, and quality for LLM systems in production
$34.99

Snowflake Cookbook: Strategic and practical recipes for building governed, intelligent, AI-ready data platforms
$44.99

Building Claude Skills: Turn repeatable work into reusable Claude Skills
$23.74

Causal Inference in Python: Applying Causal Inference in the Tech Industry
$45.00

Causal Inference (The MIT Press Essential Knowledge series)
$11.39

Causal Inference in Statistics: A Primer
$32.62

Causal AI
$51.86

The Book of Why: The New Science of Cause and Effect
$12.64

























