Skip to content

Commit

Permalink
Backport PR pandas-dev#57144: CI: Fix _get_dst_hours for numpy 2.0 ch…
Browse files Browse the repository at this point in the history
…ange
  • Loading branch information
mroeschke authored and meeseeksmachine committed Jan 30, 2024
1 parent 4bad5fc commit 73bcef0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/_libs/tslibs/tzconversion.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,8 @@ cdef ndarray[int64_t] _get_dst_hours(
ndarray[uint8_t, cast=True] mismatch
ndarray[int64_t] delta, dst_hours
ndarray[intp_t] switch_idxs, trans_idx, grp, a_idx, b_idx, one_diff
list trans_grp
# TODO: Can uncomment when numpy >=2 is the minimum
# tuple trans_grp
intp_t switch_idx
int64_t left, right

Expand Down

0 comments on commit 73bcef0

Please sign in to comment.