pastas.stats.core.std ===================== .. py:function:: pastas.stats.core.std(x: pandas.Series, weighted: bool = True, max_gap: int = 30) -> pastas.typing.ArrayLike Method to compute the (weighted) variance of a time series. :param x: Series with the values and a DatetimeIndex as an index. :type x: pandas.Series :param weighted: Weight the values by the normalized time step to account for irregular time series. Default is True. :type weighted: bool, optional :param max_gap: maximum allowed gap period in days to use for the computation of the weights. All time steps larger than max_gap are replace with the mean weight. Default value is 90 days. :type max_gap: int, optional .. seealso:: :py:obj:`ps.stats.mean`, :py:obj:`ps.stats.var` .. !! processed by numpydoc !!