Ejemplo n.º 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)))
Ejemplo n.º 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)))