Skip to content

Commit

Permalink
update docstring robust quantile
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Deceglie <[email protected]>
  • Loading branch information
martin-springer and mdeceglie authored Dec 30, 2024
1 parent 8707985 commit 774d413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdtools/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def robust_quantile(x, q):
Compute the q-th quantile of a time series (x), ignoring small values and NaN's.
NaN's and small values [x < Q(x,q)/1000] are removed before calculating the quantile.
This function ensures that time series with NaN's and distributions without
NaN's return the same results.
NaN's return the same results. Should only be used if x is expected to be ≥0.
Parameters
----------
Expand Down

0 comments on commit 774d413

Please sign in to comment.