# Deprecated in NumPy 2.0, 2023-08-18
> warnings.warn(
"`trapz` is deprecated. Use `scipy.integrate.trapezoid` instead.",
DeprecationWarning,
stacklevel=2
)
E DeprecationWarning: `trapz` is deprecated. Use `scipy.integrate.trapezoid` instead.
I don't have time to worry about that right now. Maybe when they push an RC out. If I am lucky, maybe they will un-deprecate it when too many people complain.
NumPy 2.0 is changing a lot of stuff. I think the most impactful one for this package is the deprecation of
np.trapz
(https://github.com/numpy/numpy/pull/24445).I don't have time to worry about that right now. Maybe when they push an RC out. If I am lucky, maybe they will un-deprecate it when too many people complain.