pyacs.gts.Sgts_methods.gts module

pyacs.gts.Sgts_methods.gts.gts(self, method, *args, **kwargs)[source]

Apply a Gts method to every series in this Sgts.

Parameters:
  • method (str) – Name of the Gts method (e.g. ‘detrend’, ‘copy’).

  • *args (tuple) – Positional arguments for the method.

  • **kwargs (dict) – Keyword arguments for the method.

Returns:

New Sgts with results (or self for in-place methods).

Return type:

Sgts

Examples

>>> ts.gts('detrend', periods=[2010.0, 2013.0])