|
|
|
|
|
by topper-123
1992 days ago
|
|
Just letting it implicitly be the first parameter would be good enough IMO, and a nice symmetry to self` in methods. That'd be very simple, which would be a plus in my book. Pandas allows the first param in a pipe to be a tuple[callable, str], where the second argument would signify the parameter location, e.g. `val |> (func, "param_name")` which gives some flexibility. But yeah, if you open up to piping, there are a lot of possible choices to be made and easy to go overboard also IMO. |
|