We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6c83b commit d329bc5Copy full SHA for d329bc5
pandas/_libs/tslibs/timestamps.pyx
@@ -3492,7 +3492,7 @@ default 'raise'
3492
year -= 1
3493
month += 12
3494
return (day +
3495
- np.fix((153 * month - 457) / 5) +
+ np.trunc((153 * month - 457) / 5) +
3496
365 * year +
3497
np.floor(year / 4) -
3498
np.floor(year / 100) +
pandas/core/arrays/datetimes.py
@@ -2287,7 +2287,7 @@ def to_julian_date(self) -> npt.NDArray[np.float64]:
2287
month[testarr] += 12
2288
return (
2289
day
2290
- + np.fix((153 * month - 457) / 5)
+ + np.trunc((153 * month - 457) / 5)
2291
+ 365 * year
2292
+ np.floor(year / 4)
2293
- np.floor(year / 100)
0 commit comments