I understand rolling allows you to specify the window type used for calculating the rolling mean. The docs list a variety of windows type options available here. However, I
Create a kernel like this:
import numpy as np kernel = np.array([1,2,2,1])/6
then convolve with your series:
np.convolve(rs,kernel,'same')