reduce_duplicated_timestamps (pyleoclim.utils.tsbase.reduce_duplicated_timestamps)
- pyleoclim.utils.tsbase.reduce_duplicated_timestamps(ys, ts, verbose=False)[source]
Reduce duplicated timestamps in a timeseries by averaging the values
- Parameters
ys (array) – Dependent variable
ts (array) – Independent variable
verbose (bool) – If True, will print a warning message
- Returns
ys (array) – Dependent variable
ts (array) – Independent variable, with duplicated timestamps reduced by averaging the values