2

Pandas has a df.rolling(N).apply(f) functionality that applies f to each column of df using a rolling window of size N. However, how can I apply a rolling function on the entire dataframe? That is, rather than f receiving each column of df one at a time, I would like all the columns to be passed to f like the way df.apply(f) would do.

1

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.