Skip to content

Conversation

@antznette1
Copy link

@antznette1 antznette1 commented Nov 12, 2025

  • Guard range-based setops for tz-aware DatetimeIndex to avoid RangeIndex assumptions that don’t hold across DST transitions in local time.
  • For tz-aware union, compute union in UTC, then tz-convert back and infer freq. This preserves tz and correct ordering without fabricating nonexistent local times across DST.
  • Flips new test to pass: test_union_across_dst_boundary.
  • Notes:
    • Uses freq="h" alias.
    • Aligns expected unit via .as_unit(left.unit).

Ref: #62915 and tests-only PR #63087.

@antznette1 antznette1 marked this pull request as ready for review November 12, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant