Closed skjongithub closed 2 months ago
Thank you very much for creating and maintaining such a useful package. I'd like to report an issue reguarding to the title.
With SciPy >= 1.14.0, the lifelines/fitters package will cause: cannot import name 'trapz' from 'scipy.integrate'
cannot import name 'trapz' from 'scipy.integrate'
In SciPy 1.14.0 Releast Note ( https://docs.scipy.org/doc/scipy/release/1.14.0-notes.html#expired-deprecations ) In expired deprecation section: scipy.integrate.{simps,trapz,cumtrapz} have been removed in favour of simpson, trapezoid, and cumulative_trapezoid.
scipy.integrate.{simps,trapz,cumtrapz}
simpson
trapezoid
cumulative_trapezoid
Maybe it's only needed that changing the import name?
Oh I noticed that this issue is solved in 0.29.0. Sorry, I'll close this issue.
Thank you very much for creating and maintaining such a useful package. I'd like to report an issue reguarding to the title.
With SciPy >= 1.14.0, the lifelines/fitters package will cause:
cannot import name 'trapz' from 'scipy.integrate'
In SciPy 1.14.0 Releast Note ( https://docs.scipy.org/doc/scipy/release/1.14.0-notes.html#expired-deprecations ) In expired deprecation section:
scipy.integrate.{simps,trapz,cumtrapz}
have been removed in favour ofsimpson
,trapezoid
, andcumulative_trapezoid
.Maybe it's only needed that changing the import name?