-
Notifications
You must be signed in to change notification settings - Fork 18
[Bug]: Solving polars Deprecation warnings for is_in #174
Copy link
Copy link
Labels
Sprints!A task that might be good to tackle during sprints!A task that might be good to tackle during sprints!bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersmaintenanceGeneral maintenance tasks, code refactoring, or cleanup.General maintenance tasks, code refactoring, or cleanup.
Description
Activity
Metadata
Metadata
Assignees
Labels
Sprints!A task that might be good to tackle during sprints!A task that might be good to tackle during sprints!bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersmaintenanceGeneral maintenance tasks, code refactoring, or cleanup.General maintenance tasks, code refactoring, or cleanup.
📝 Description
The codebase is generating multiple deprecation warnings due to the use of Polars'
is_inmethod with collections of the same datatype. The warning specifically states:The issue affects multiple files across the codebase where
is_inis used to check membership of Series/DatFrame elements against other Series/DataFrame columns. The affected pattern is typically:Instead of the deprecated
is_in, we need to useimplode()to maintain the current behavior, as suggested by the deprecation message.🔄 Steps to Reproduce
No response
🎯 Expected Behavior
No response
🚨 Actual Behavior
No response
🖥️ Python Version
No response
Operating System
No response
Relevant Packages
polars: >=1.30.0
📊 Relevant Log Output
No response
➕ Additional Context
No response