Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
TimedeltaIndex + Timestamp -> no overflow error #14068
When adding a TimedeltaIndex and a Timestamp this overflows instead of raising (pydata/xarray#975).
yeah this is detectable I think. you can just check the sign of the result. e.g. (should be the same as the sign of the timedelta), as numpy doesn't raise on overflow :<