Narwhalify_from_group_dataframe#2766
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2766 +/- ##
==========================================
- Coverage 95.23% 95.19% -0.05%
==========================================
Files 146 146
Lines 15576 15588 +12
==========================================
+ Hits 14834 14839 +5
- Misses 742 749 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hi @cnhwl, and thanks a lot for this PR! We were a bit busy over the last week with the release of Darts 0.35.0. |
|
Hi @cnhwl and thanks for this PR, it's a very good start 🚀 I oushed some updates for this PR:
The Narwhals team is current fixing an issue related to parallelization using polars DFs wrapped by narwhals (see here). Our tests are expected to fail until then. I will also have to test how this PR affects the performance of the current |
…m_group_dataframe
Of course! @dennisbader I have been added you as a collaborator on my fork repository 🤝. |
|
@dennisbader Got it, thanks for the heads-up. No problem at all, happy to wait for the refactor to be completed 🚀 |
dennisbader
left a comment
There was a problem hiding this comment.
Hi @cnhwl and thanks for this great PR 🚀 It looks really good!
I finally found the time now to review and make a couple of adjustment for performance reasons :)
I also compared the performance against the old version, and now we're even a bit more efficient after some updates 💯
Thanks again and sorry for the long wait!
|
I applied a last change to get the same efficiency as we had it before for pandas DataFrames. Will merge after the tests have passed :) |
Checklist before merging this PR:
Fixes #2730.
Summary
A first draft of refactoring the
from_group_dataframe()according to #2661. Since I'm not very familiar with the Narwhals library yet, more help would be appreciated!