def get_frame(self):
metric_items = list(self.db.metrics.find({'<STR_LIT>': self.model_config.run_name}).sort('<STR_LIT>'))<EOL>if len(metric_items) == <NUM_LIT:0>:<EOL><INDENT>return pd.DataFrame(columns=['<STR_LIT>'])<EOL><DEDENT>else:<EOL><INDENT>return pd.DataFrame(metric_items).drop(['<STR_LIT>', '<STR_LIT>'], axis=<NUM_LIT:1>).set_index('<STR_LIT>')<EOL><DEDENT>
Get a dataframe of metrics from this storage