pastas.timeseries.validate_stress ================================= .. py:function:: pastas.timeseries.validate_stress(series: pandas.Series, verbose: bool = False) -> bool Method to validate user-provided stress input time series. :param series: Pandas.Series object containing the series time series. :type series: pandas.Series :param verbose: Whether to print the results of the checks in the validation process. :type verbose: bool, optional :returns: True if the series is valid. If not, an error is raised. :rtype: bool .. rubric:: Notes The Series are validated for the following cases: 0. Make sure the series is a Pandas.Series 1. Make sure the values are floats 2. Make sure the index is a DatetimeIndex 3. Make sure the indices are datetime64 (and tz naive) 4. Make sure the index has no NaT-values 5. Make sure the index is monotonically increasing 6. Make sure there are no duplicate indices 7. Detect if the time series has nan-values (filled with `fill_nan` TimeSeries' settings) 8. Make sure the time series has equidistant time steps If any of these checks are not passed the method will throw an error that needs to be fixed by the user. .. rubric:: Examples >>> ps.validate_stress(series) .. !! processed by numpydoc !!