#NEWLINE# def summary_df( self ) : #NEWLINE# #INDENT# df = pd . concat ( [ r . summary_df ( ) for r in self . cvresults ] ) #NEWLINE# df . index = pd . MultiIndex . from_product ( [ self . model_abbrs , [ m . name for m in r . metrics ] ] ) #NEWLINE# return df