Contents

lifelines 0.30.1

0

Survival analysis in Python, including Kaplan Meier, Nelson Aalen and regression

Survival analysis in Python, including Kaplan Meier, Nelson Aalen and regression

Stars: 2550, Watchers: 2550, Forks: 567, Open Issues: 278

The CamDavidsonPilon/lifelines repo was created 12 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 2550 github stars!

How to Install lifelines

You can install lifelines using pip

pip install lifelines

or add it to a project with poetry

poetry add lifelines

Package Details

Author
Cameron Davidson-Pilon
License
MIT
Homepage
https://github.com/CamDavidsonPilon/lifelines
PyPi:
https://pypi.org/project/lifelines/
GitHub Repo:
https://github.com/CamDavidsonPilon/lifelines

Classifiers

  • Scientific/Engineering
No  lifelines  pypi packages just yet.

Errors

A list of common lifelines errors.

Code Examples

Here are some lifelines code examples and snippets.

GitHub Issues

The lifelines package has 278 open issues on GitHub

  • add_at_risk_counts Numpy 2.4.0 compatibility (TypeError: only 0-dimensional arrays can be converted to Python scalars)
  • Remove inconsistency with optional parameter event_col
  • Optional parameter in fit() is required for score()
  • added return_se when predicting partial hazards

See more issues on GitHub

Related Packages & Articles