1064/enhancement/add functions to Expr class#1074
Conversation
|
I do love this PR. I hadn't looked at it since it's in draft, but I fully endorse. |
|
Let me know when it's ready for review |
|
I'll mark it ready and just do a second PR for more methods. |
|
@timsaucer did you have any thoughts on the namespaces because going from this to that would wind up being a breaking change. |
|
At a high level I like some of the aspects of a namespace. It would especially be nice to clean up our documentation using them in |

Which issue does this PR close?
Works towards closing #1064
Rationale for this change
To improve ergonomics of the API by adding functions to the Expr class so that they can be chained
What changes are included in this PR?
This includes function definitions in the Expr class for all the single argument functions that take Expr and return Expr
Are there any user-facing changes?
Yes, users can use functions chained from other Exprs for example
col("a").abs().tan()No breaking changes.