HackerTrans
トップ新着トレンドコメント過去質問紹介求人

abisen

no profile record

コメント

abisen
·2 年前·議論
If I am not using named arguments I find myself using the pipe operator a lot. I also find it more readable.

array |> mean |> round

For scenarios with named arguments there is a little not so cleaner workaround

array |> mean |> x->round(x, digits=2)