Skip to content

Series.rolling(3).quantile(10) segmentation fault #15463

Closed
@kernc

Description

@kernc

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

No one assigned

    Labels

    BugNumeric OperationsArithmetic, Comparison, and Logical operationsReshapingConcat, Merge/Join, Stack/Unstack, Explode

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions