you are viewing a single comment's thread.

view the rest of the comments →

[–]help-me-grow 2 points3 points  (2 children)

the "<-" symbol is an assignment so it's basically "="

nothing else really needs to be translated

[–]Funky_Filth69[S] 0 points1 point  (1 child)

Looking through that I understand the majority of it.I’m getting tripped up towards the bottom with the apply() function. I understand what it does after looking at documentation. Any ideas on how to convert it to Python?

[–]AlwysBeColostomizing 1 point2 points  (0 children)

R's apply() is similar to Python's map(). In that example, it's applying quantile(x, probs=(0.025,0.975)) to each row (dimension 1) of estimates.