chore: simplify parsing expressions in group-by#3106
chore: simplify parsing expressions in group-by#3106MarcoGorelli merged 11 commits intonarwhals-dev:mainfrom
Conversation
|
Gotta say this has me pretty confused
I only added this 1 week ago and you approved it? But this doesn't just revert that PR, it also goes in the opposite direction of what you said you wanted in The purpose of Now, those methods both don't exist at the compliant-level and they're being called as if they did |
sorry the "for a while" was referring to the group-by logic not being able to re-use will iterate on this |
|
Have corrected - it should now not be using anything non-compliant, right? |
I really would've liked a chance to review this.
I've been waiting for reviews on PRs that have approval, but just not yours yet. Rushing this through after I've objected (#3106 (comment)) to parts of it - and not letting me respond - makes me feel like my time isn't valued. |
I'd say that it's It's the purely
I'm really sorry to have hurt you here, and thank you for having told me, will make sure to wait in the future |
This reverts commit 538973e.
|
reverted and re-opened in #3110 |
Thanks @MarcoGorelli, that really means a lot ❤️ |
This had been annoying me for a while
We're using
CompliantNamespace.parse_into_expr, which accepts Python scalars, in{DataFrame,LazyFrame}.{select,with_columns}, even though there we don't accept Python scalarsI think this simplifies things a little, and means we can do
.aliaswithinflatten_and_extractbefore going to the compliant level (which I think is not a bad thing, given that there we're still at the Narwhals level. this will also help in some follow-up / skunkworks)