def rolling_apply(arg, window, func, min_periods=None, freq=None, center=False, args=(), kwargs={}):
 return ensure_compat('rolling', 'apply', arg, window=window, freq=freq, center=center, min_periods=min_periods, func_kw=['func', 'args', 'kwargs'], func=func, args=args, kwargs=kwargs)

def rolling_apply ( arg , window , func , min_periods = None , freq = None , center = False , args = ( ) , kwargs = { } ) : return ensure_compat ( 'rolling' , 'apply' , arg , window = window , freq = freq , center = center , min_periods = min_periods , func_kw = [ 'func' , 'args' , 'kwargs' ] , func = func , args = args , kwargs = kwargs )
generic moving function application .