One idea I had (and something I've been wanting to try for a while) is using coconut instead of normal python. Coconut is a kind of "extended" python with some extra features. So all code that runs in python will run in coconut as well, but it also has pipe operators (like %>% in R and dplyr):
4 |> maths.sqrt() |> print
is equivalent to:
print(maths.sqrt(4))
Since we're making a pipeline, having a pipe operator could be cool 😃
One idea I had (and something I've been wanting to try for a while) is using coconut instead of normal python. Coconut is a kind of "extended" python with some extra features. So all code that runs in python will run in coconut as well, but it also has pipe operators (like
%>%
in R and dplyr):is equivalent to:
Since we're making a pipeline, having a pipe operator could be cool 😃