Skip to content

Commit 5f348df

Browse files
fix tst
1 parent f9e778e commit 5f348df

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
#### 0.28.0 - Upcoming
44
- Fixes bins that are far into the future with using `survival_table_from_events`, see #1587
55
- 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 ✨
6-
- Fix Pandas 2.0 compatibility.
6+
- Fix pandas>=2.0 compatibility.
77
- Fix overflow issue in NelsonAalenfitter, #1585
88
- officially drop support for < py3.9
9+
- update some dependencies (pandas >= 1.2)
910

1011
#### 0.27.8 - 2023-09-13
1112
- Estimators now have `.label` property

lifelines/tests/test_estimation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,9 +587,9 @@ def test_lists_and_tuples_as_input(self, positive_sample_lifetimes, univariate_f
587587
assert_frame_equal(with_list, with_array)
588588
assert_frame_equal(with_tuple, with_array)
589589

590-
with_array = fitter.fit_left_censoring(T, C).survival_function_
591-
with_list = fitter.fit_left_censoring(list(T), list(C)).survival_function_
592-
with_tuple = fitter.fit_left_censoring(tuple(T), tuple(C)).survival_function_
590+
with_array = fitter.fit_left_censoring(T).survival_function_
591+
with_list = fitter.fit_left_censoring(list(T)).survival_function_
592+
with_tuple = fitter.fit_left_censoring(tuple(T)).survival_function_
593593
assert_frame_equal(with_list, with_array)
594594
assert_frame_equal(with_tuple, with_array)
595595

reqs/base-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
numpy>=1.14.0,<2.0
22
scipy>=1.2.0
3-
pandas>=1.0.0
3+
pandas>=1.2.0
44
matplotlib>=3.0
55
autograd>=1.5
66
autograd-gamma>=0.3

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
PACKAGE_DATA = {"lifelines": ["datasets/*"]}
2727
DESCRIPTION = "Survival analysis in Python, including Kaplan Meier, Nelson Aalen and regression"
2828
URL = "https://github.com/CamDavidsonPilon/lifelines"
29-
PYTHON_REQ = ">=3.7"
29+
PYTHON_REQ = ">=3.9"
3030

3131
setup(
3232
name=NAME,

0 commit comments

Comments
 (0)