You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it only works for univariate functions. Would it be possible to extend it to multiple columns while keeping the time efficiency? The idea would be to be able to compute functions involving several columns on expanding window of the data. Say something like:
tldr: something we'd like to support, but we have backwards compatibility concerns so we have to come up with a new API. Post there if you have thoughts
The
.expanding()
function is super cool. It's order of magnitude faster thanthe obvious
numpy
alternative:But it only works for univariate functions. Would it be possible to extend it to multiple columns while keeping the time efficiency? The idea would be to be able to compute functions involving several columns on expanding window of the data. Say something like:
faster than with
numpy
and list comprehension.Expected Output
The result of say:
...but with the nicer speed;)
Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here below this line]The text was updated successfully, but these errors were encountered: