lifelines is a implementation of survival analysis in Python. What benefits does lifelines offer over other survival analysis implementations?

  • built on top of Pandas
  • internal plotting methods
  • simple and intuitive API (designed for humans)
  • only does survival analysis (No unnecessary features or second-class implementations)


Dependencies are from the typical Python data-stack: Numpy, Pandas, Scipy, and optionally Matplotlib. Install using:

pip install lifelines

Source code and Issue Tracker

Available on Github, CamDavidsonPilon/lifelines Please report bugs, issues and feature extensions there. We also have Gitter channel open to discuss lifelines:

Citing lifelines

The following link will bring you to a page where you can find the latest citation for lifelines:

Citation for lifelines

Indices and tables