standardDeviation()
Signature 1:
aggregate(
func: Union[
list[Union[Callable[[Any], Any], str]],
Callable[[Any], Any],
str
]
) -> Any
Signature 2:
aggregate_ts(
func: Union[
list[Union[Callable[[Any], Any], str]],
Callable[[Any], Any],
str
],
timeseries: list[TimeSeries]
) -> TimeSeries
The hec-python-library equivalent of Jython method standardDeviation():
Signature 2 is a static method and must be called on the TimeSeries class instead of an instance
Example 1:
stddev: float
stddev = ts.aggregate("std")
Example 2:
ts_list: list[TimeSeries]
ts_stddev = TimeSeries.aggregate_ts("std", ts_list)