Skip to content

Conversation

@MaxGhenis
Copy link
Collaborator

@MaxGhenis MaxGhenis commented Jan 24, 2026

Summary

  • Adds test suite verifying microdf works with pandas 3.0 changes
  • Tests MicroSeries/MicroDataFrame subclass preservation, string dtype handling, weighted operations, Copy-on-Write, and GroupBy
  • All 15 tests pass - microdf is already compatible with pandas 3
  • Also fixes CI workflow config: Updates branches from master to main to match default branch

Test plan

  • All 15 new pandas 3 compatibility tests pass locally
  • CI will run after merge (workflow config change takes effect on main)

Related to pandas 3.0.0 compatibility efforts across PolicyEngine repos.

Note: CI won't run on this PR because the workflow files currently target master but the default branch is main. This PR includes a fix for that, which will take effect once merged.

🤖 Generated with Claude Code

MaxGhenis and others added 4 commits January 24, 2026 10:18
Adds test suite verifying microdf works with pandas 3.0 changes:
- MicroSeries subclass preservation across operations
- MicroDataFrame column access returning MicroSeries
- String dtype handling
- Weighted operations (sum, mean, count)
- Copy-on-Write compatibility
- GroupBy operations with weights

All 15 tests pass - microdf is already compatible with pandas 3.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis merged commit 55e6f98 into main Jan 24, 2026
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.

2 participants