Python Pandas Rolling Function With Two Arguments In A Grouped

Python Pandas Rolling Function With Two Arguments In A Grouped