예제 #1
0
 def test_expanding_count(self):
     result = mom.expanding_count(self.series)
     assert_almost_equal(result,
                         mom.rolling_count(self.series, len(self.series)))
예제 #2
0
 def test_expanding_count(self):
     result = mom.expanding_count(self.series)
     assert_almost_equal(result, mom.rolling_count(self.series,
                                                   len(self.series)))