Lista de rodillos de pandas

df['C'] = [window.to_list() for window in df.B.rolling(window=3)]
Angry Alpaca