#NEWLINE# def add_table_2cols( self , res , title = None , gleft = None , gright = None , yname = None , xname = None ) : #NEWLINE# #INDENT# 'add a double table, 2 tables with one column merged horizontally\n\n        Parameters\n        ----------\n        res : results instance\n            some required information is directly taken from the result\n            instance\n        title : string or None\n            if None, then a default title is used.\n        gleft : list of tuples\n            elements for the left table, tuples are (name, value) pairs\n            If gleft is None, then a default table is created\n        gright : list of tuples or None\n            elements for the right table, tuples are (name, value) pairs\n        yname : string or None\n            optional name for the endogenous variable, default is "y"\n        xname : list of strings or None\n            optional names for the exogenous variables, default is "var_xx"\n\n        Returns\n        -------\n        None : tables are attached\n\n        ' #NEWLINE# table = summary_top ( res , title = title , gleft = gleft , gright = gright , yname = yname , xname = xname ) #NEWLINE# self . tables . append ( table )