pyacs.gts.lib.primitive.correct_duplicated_dates module
- pyacs.gts.lib.primitive.correct_duplicated_dates.correct_duplicated_dates(self, action='correct', tol=0.1, in_place=False, verbose=False)[source]
Check or remove duplicated dates in a time series.
- Parameters:
action (str, optional) – ‘correct’ (default) or ‘check’.
tol (float, optional) – Tolerance in days for two dates to be considered the same (default 0.1 day).
in_place (bool, optional) – If True, modify in place; otherwise return a new Gts.
verbose (bool, optional) – Verbose mode.
- Returns:
Current Gts if in_place, else new Gts with duplicates removed (when action=’correct’).
- Return type: