mergeTimeSeries()
Signature:
merge(
other: Union[TimeSeries, List[TimeSeries]],
in_place: bool = False
) -> TimeSeries
The hec-python-library equivalent of Jython method mergeTimeSeries():
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 1:
ts_merged = ts1.merge(ts2)
Example 2:
ts_merged = ts1.merge(ts2).merge(ts3)
Example 3:
ts_merged = ts1.merge([ts2, ts3])
Signature:
imerge(
other: Union[TimeSeries, List[TimeSeries]],
) -> TimeSeries
Convenience method for calling merge(...) with in_place=True.
Example 1:
ts1.imerge(ts2)
Example 2:
ts1.imerge(ts2).merge(ts3)
Example 3:
ts1.imerge([ts2, ts3])