Lifelines Versions Save

Survival analysis in Python

v0.28.0

4 months ago

0.28.0 - 2023-01-03

  • Fixes bins that are far into the future with using survival_table_from_events, see #1587
  • Removed sklean_adaptor. It was a terrible hack, and causing more confusion and support debt than I want. This cleans up our API and simplifies the library. ✨ There's no replacement, and I doubt I'll introduce one ✨
  • Fix pandas>=2.0 compatibility.
  • Fix overflow issue in NelsonAalenfitter, #1585
  • officially drop support for < py3.9
  • update some dependencies (pandas >= 1.2)

v0.27.8

8 months ago

0.27.8 - 2023-09-13

  • Estimators now have .label property
  • Fixed some deprecation warnings
  • Pinned to numpy < 2.0

v0.27.7

1 year ago

0.27.7 - 2023-05-01

  • check_assumptions(show_plots=True) will always show plots, regardless of test outcome. Thanks @nomennominatur!
  • lifelines.datasets is now importable.

v0.27.5

1 year ago

0.27.5 - 2023-04-27

  • Support pandas 2.0+

v0.27.4

1 year ago

0.27.4 - 2022-11-16

New features
  • Support py3.11

v0.27.3

1 year ago

0.27.3

New features
  • Fixed and silenced a lot of warnings
Bug fixes
  • Migrate to newer Pandas Styler for to_latex
API Changes
  • There were way too many functions on the summary objects, so I've hidden to_* on them.

v0.27.2

1 year ago

0.27.2 - 2022-09-07

Bug fixes
  • Fixed issue in add_at_risk_table when there were very late entries.

v0.27.1

1 year ago

0.27.1 - 2022-03-15

New features
  • all fit_ methods now accept a fit_options dict that allows one to pass kwargs to the underlying fitting algorithm.
API Changes
  • step_size is removed from Cox models fit. See fit_options above.
Bug fixes
  • fixed Cox models when "trival" matrix was passed in (one with no covariates)

v0.27.0

2 years ago

0.27.0 - 2022-03-15

Dropping Python3.6 support.

Bug fixes
  • Fix late entry in add_at_risk_counts.
New features
  • add_at_risk_counts has a new flag to determine to use start or end-of-period at risk counts.
  • new column in fitter's summary that display the number the parameter is being compared against.
API Changes
  • plot_lifetimes's duration arg has the interpretation of "relative time the subject died (since birth)", instead of the old "time observed for". These interpretations are different when there is late entry.

v0.26.4

2 years ago

0.26.4 - 2021-11-30

New features
  • adding weights to log rank functions