Skip to content

Comments

change explode to using polars#153

Merged
singjc merged 2 commits intoPyProphet:masterfrom
Roestlab:feature/polars_explode
Jul 28, 2025
Merged

change explode to using polars#153
singjc merged 2 commits intoPyProphet:masterfrom
Roestlab:feature/polars_explode

Conversation

@jcharkow
Copy link
Contributor

With one of my datasets, pandas explode consumes a lot of memory and causes pyprophet to crash. Switching to polars should be functionally equivalent, and a lot faster and more memory efficient.

I am unsure if this breaks any tests

Copy link
Contributor

@singjc singjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests seem to pass 👍 , will merge as a temporary fix, but should eventually convert everything to polars at some point.

@singjc singjc merged commit 045da54 into PyProphet:master Jul 28, 2025
1 check passed
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