lifelines is an 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
  • only focus is survival analysis
  • handles right, left and interval censored data


Additional documentation

Questions? Suggestions?

Developer Documentation


pip install lifelines


conda install -c conda-forge lifelines

Source code and issue tracker

Available on Github, CamDavidsonPilon/lifelines. Please report bugs, issues and feature extensions there. We also have Gitter channel available to discuss survival analysis and 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