예제 #1
0
 def test_filter_when_cutoff_after_end(self):
     assert len(
         DataSplitter.get_first_n_nanos(self.df, 15 * 10**9)['time']) == 2
예제 #2
0
    def test_filter_when_cutoff_before_end(self):

        assert len(DataSplitter.get_first_n_nanos(self.df, 5)['time']) == 1