code: def timeseries(self, data: ['SASdata', str] = None,
                     by: str = None,
                     corr: str = None,
                     crosscorr: str = None,
                     crossvar: str = None,
                     decomp: str = None,
                     id: str = None,
                     out: [str, 'SASdata'] = None,
                     season: str = None,
                     trend: str = None,
                     var: str = None,
                     procopts: str = None,
                     stmtpassthrough: str = None,
                     **kwargs: dict) -> 'SASresults':
          
docs: Python method to call the TIMESERIES procedure
  
          Documentation link:
          http://support.sas.com/documentation/cdl//en/etsug/68148/HTML/default/viewer.htm#etsug_timeseries_syntax.htm
  
          :param data: SASdata object or string. This parameter is required.
          :parm by: The by variable can only be a string type.
          :parm corr: The corr variable can only be a string type.
          :parm crosscorr: The crosscorr variable can only be a string type.
          :parm crossvar: The crossvar variable can only be a string type.
          :parm decomp: The decomp variable can only be a string type.
          :parm id: The id variable can only be a string type.
          :parm out: The out variable can be a string or SASdata type.
          :parm season: The season variable can only be a string type.
          :parm trend: The trend variable can only be a string type.
          :parm var: The var variable can only be a string type.
          :parm procopts: The procopts variable is a generic option available for advanced use. It can only be a string type.
          :parm stmtpassthrough: The stmtpassthrough variable is a generic option available for advanced use. It can only be a string type.
          :return: SAS Result Object