Esempio n. 1
0
    def test_t_column(self):
        f = self.features.copy()
        cols = list(f.columns)
        name = 'arbitrary name'
        cols[cols.index('frame')] = name
        f.columns = cols

        # smoke tests
        link_df(f, 5, t_column=name, verify_integrity=True)

        f_iter = (frame for fnum, frame in f.groupby('arbitrary name'))
        list(link_df_iter(f_iter, 5, t_column=name, verify_integrity=True))
Esempio n. 2
0
    def test_t_column(self):
        f = self.features.copy()
        cols = list(f.columns)
        name = 'arbitrary name'
        cols[cols.index('frame')] = name
        f.columns = cols

        # smoke tests
        link_df(f, 5, t_column=name, verify_integrity=True)

        f_iter = (frame for fnum, frame in f.groupby('arbitrary name'))
        list(link_df_iter(f_iter, 5, t_column=name, verify_integrity=True))
Esempio n. 3
0
 def link_df(self, *args, **kwargs):
     kwargs.update(self.linker_opts)
     kwargs['diagnostics'] = self.do_diagnostics
     return link_df(*args, **kwargs)
Esempio n. 4
0
 def link_df(self, *args, **kwargs):
     kwargs.update(self.linker_opts)
     kwargs['diagnostics'] = self.do_diagnostics
     return link_df(*args, **kwargs)