havakv / pycox

Survival analysis with PyTorch
BSD 2-Clause "Simplified" License
780 stars 180 forks source link

Update eval_surv.py for pandas 2.0 #170

Open hminle opened 10 months ago

hminle commented 10 months ago

Changed pd.Series.is_monotonic to pd.Series.is_monotonic_increasing for newer versions of pandas.

shi-ang commented 6 months ago

Also, change iteritems to items for pandas 2.0.0+

nilskre commented 3 months ago

Hi all, after stumbling across exactly this issue #162, I found this PR, which fixes the issue. Therefore, I just wanted to ask if there are any plans to merge this? Thanks in advance!