(self)
return pd.DataFrame(new_spec, index=names)
Conversion method to Pandas DataFrame. To be attached to ResultDict.

    Returns
    ========
    Pandas DataFrame
Conversion method to Pandas DataFrame. To be attached to ResultDict.
Conversion method to Pandas DataFrame . To be attached to ResultDict .
def to_df(self):
    '''Conversion method to Pandas DataFrame. To be attached to ResultDict.

    Returns
    ========
    Pandas DataFrame
    '''
    names = self['names']

    # Only convert these elements in dict to DF
    include_list = ['Sa', 'Sb', 'S', 'ST']
    include_list += [f'{name}_conf' for name in include_list]
    new_spec = {k: v for k, v in self.items() if k in include_list}

    return pd.DataFrame(new_spec, index=names)
def to_df ( self ) : names = self [ 'names' ] # Only convert these elements in dict to DF include_list = [ 'Sa' , 'Sb' , 'S' , 'ST' ] include_list += [ f'{name}_conf' for name in include_list ] new_spec = { k : v for k , v in self . items ( ) if k in include_list } return pd . DataFrame ( new_spec , index = names )