title: Pandas Window Function
body: <p>I need a function that returns the average of a specific window of pandas. Let's say our data is in the nth row. My window needs to sum ( n-2, n-1, n, n+1, n+2) and find the average. Pandas has rolling functions but I think it only does that in one direction one not in 2 directions at the same time.</p>