successiveDifferences()

Signature:

diff(in_place: bool = False) -> TimeSeries

Detailed Documentation

The hec-python-library equivalent of Jython method successiveDifferences():

If in_place=True, the instance itself is modified. In this case the returned value (which can be ignored in python) is the modified instance, which can be used in chaining methods.

Example:

ts2 = ts1.diff()

Signature:

idiff() -> TimeSeries

Convenience method for calling successiveDifferences(...) with in_place=True.

Example:

ts.idiff()