I am using pandas with version 0.23.4 and the below code is giving me the error - "module 'pandas' has no attribute 'rolling_apply'"
Below is the function call:
df['perLow'] = pd.rolling_apply(df.low, 2, add_percentage_diff)
Any help with fixing this error is much appreciated.