Beispiel #1
0
 def _strip_diag(self, df):
     """Move diagnostic columns from the returned DataFrame into a buffer.
     """
     diag_cols = [cn for cn in df.columns if cn.startswith('diag_')]
     self.diag = df.reindex(columns=diag_cols)
     return tp.strip_diagnostics(df)
Beispiel #2
0
 def _strip_diag(self, df):
     """Move diagnostic columns from the returned DataFrame into a buffer.
     """
     diag_cols = [cn for cn in df.columns if cn.startswith('diag_')]
     self.diag = df.reindex(columns=diag_cols)
     return tp.strip_diagnostics(df)