Skip to content

Polars/phase 4 contributor modules#1049

Draft
EngCaioFonseca wants to merge 3 commits intopolars/phase-3-batch-conversions-1from
polars/phase-4-contributor-modules
Draft

Polars/phase 4 contributor modules#1049
EngCaioFonseca wants to merge 3 commits intopolars/phase-3-batch-conversions-1from
polars/phase-4-contributor-modules

Conversation

@EngCaioFonseca
Copy link
Copy Markdown
Contributor

PR of the series of migrating pandas to polars in 8knot.

Generative AI disclosure

  • This contribution was assisted or created by Generative AI tools.
    • What tools were used?
    • How were these tools used?
    • Did you review these outputs before submitting this PR?

Enhancements to polars_utils.py:
- Added Expressions.is_open_at_date() for checking open items
- Added Expressions.truncate_to_period() for period grouping
- Added Expressions.to_utc_datetime() for datetime conversion
- Added LazyPatterns class with:
  - group_count_by_period(): Optimized period aggregations
  - filter_and_aggregate(): Combined filter/group operations
  - cumsum_threshold_search(): Vectorized threshold finding

Modules converted:
- new_contributor.py
- first_time_contributions.py
- contribs_by_action.py

Total modules using Polars: 17+
Modules converted:
- contrib_activity_cycle.py
- contrib_drive_repeat.py
- contrib_importance_pie.py
- contributors_types_over_time.py

Total modules using Polars: 21+
@EngCaioFonseca EngCaioFonseca self-assigned this Dec 19, 2025
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Dec 19, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch polars/phase-4-contributor-modules

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@EngCaioFonseca EngCaioFonseca changed the base branch from dev to polars/phase-3-batch-conversions-1 December 19, 2025 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: "On Deck"

Development

Successfully merging this pull request may close these issues.

1 participant