-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
BugNumeric OperationsArithmetic, Comparison, and Logical operationsArithmetic, Comparison, and Logical operationsReshapingConcat, Merge/Join, Stack/Unstack, ExplodeConcat, Merge/Join, Stack/Unstack, Explode
Milestone
Description
Code Sample, a copy-pastable example if possible
>>> pd.Series(np.arange(10)).rolling(3).quantile(10)
[1] 20214 segmentation fault
Problem description
The value 10 is over the fraction of 1 which .quantile() works with, but I guess it still shouldn't crash my interpreter.
Expected Output
ValueError: quantile value 10 not in [0, 1]
Output of pd.show_versions()
pandas 0.19.0+479.g4842bc7
Metadata
Metadata
Assignees
Labels
BugNumeric OperationsArithmetic, Comparison, and Logical operationsArithmetic, Comparison, and Logical operationsReshapingConcat, Merge/Join, Stack/Unstack, ExplodeConcat, Merge/Join, Stack/Unstack, Explode