Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eval_surv.py for pandas 2.0 #170

Closed
wants to merge 2 commits into from
Closed

Conversation

hminle
Copy link

@hminle hminle commented Aug 24, 2023

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

hminle added 2 commits August 23, 2023 22:44
update eval_surv for pandas 2.0
Copy link

@sheisnt4046 sheisnt4046 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change works for

attributeerror: 'series' object has no attribute 'is_monotonic'

in a newer version Pandas.

@shi-ang
Copy link

shi-ang commented Jan 3, 2024

Also, change iteritems to items for pandas 2.0.0+

@nilskre
Copy link

nilskre commented Mar 28, 2024

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!

@antonromashko
Copy link

@havakv Hi, please take a look at this PR. It's still relevant for many.

@havakv
Copy link
Owner

havakv commented Sep 2, 2024

I'm not really maintaining this anymore, so if anyone wants to take over pleas just make a fork. However, I've tried to make this work, but needed to make a some other changes. So @hminle or @antonromashko (or anyone else), let me know if #180 works for you

@havakv
Copy link
Owner

havakv commented Sep 4, 2024

Closed in preference for #180

@havakv havakv closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants