p20()
Signature:
percentile_ts(
pct: float,
timeseries: list[TimeSeries]
) -> TimeSeries
The hec-python-library equivalent of Jython method p20()
Notes:
percentile_ts()is a static method that must be called on theTimeSeriesclass and not on an instnace.There is a
percentile()method that returns a specified perctile of the values in a time series
Example:
ts_list: list[TimeSeries]
ts_p20 = TimeSeries.percentile_ts(20.0, ts_list)