Python Charts
    • Matplotlib 63 The core library, with full control over every element
    • Plotly 27 Interactive charts for the web and notebooks
    • Seaborn 17 Statistical plots straight from DataFrames
    • Pandas 8 Quick charts with df.plot()
    • Altair 5 Declarative charts built on Vega-Lite
    • Plotnine 3 ggplot2's grammar of graphics in Python
    • Streamlit 1 Charts inside Streamlit data apps
    • A/B Testing 15 Sample size, analysis and sequential tests
    • Machine Learning 14 Evaluate and explain scikit-learn models
    • Causal Inference 10 Diff-in-diff, synthetic control, IV and more
    • AI 1 Use LLMs to build charts from your data
  • Python
  • All Posts
  • Causal Inference in Python: How to Choose a Method
    Causal Inference

    Causal Inference in Python: How to Choose a Method

    A decision tree for picking a causal inference method in Python, with links to tutorials on difference-in-differences, synthetic control, regression discontinuity, interrupted time series and propensity scores.

    Nov 25, 2026
    causal inference difference in differences synthetic control regression discontinuity propensity score interrupted time series guide
  • Propensity Score Matching and IPW in Python (with a Love Plot)
    Causal Inference

    Propensity Score Matching and IPW in Python (with a Love Plot)

    Estimate a treatment effect from observational data in Python with propensity scores: fit them with scikit-learn, reweight with IPW, match on them, and check covariate balance with a love plot.

    Nov 25, 2026
    causal inference propensity score matching ipw observational data covariate balance scikit-learn statsmodels

Python plotting and visualization demystified

© 2026 PythonCharts.com. All rights reserved.
  • About
  • Credits
  • Privacy Policy