Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rolling on 0 window causes core dump #21286
pd.version == 0.22.0
import pandas as pd series = pd.Series(range(1000)) series.rolling(0).min()
Attempting to perform an operation on a series.rolling with window=0
kills the kernel if running with jupyter.
causes a core dump if running directly from python.
free(): invalid next size (fast): 0x00007fffbfcc5040 ***
Should raise a ValueError instead of crashing.