p90()
Signature:
percentile_ts(
pct: float,
timeseries: list[TimeSeries]
) -> TimeSeries
The hec-python-library equivalent of Jython method p90()
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_p90 = TimeSeries.percentile_ts(90.0, ts_list)