Example #1
0
 def isconsistent(self):
     '''Check if the timeseries is consistent'''
     for dt1,dt0 in laggeddates(self):
         if dt1 <= dt0:
             return False
     return True
Example #2
0
 def isconsistent(self):
     '''Check if the timeseries is consistent'''
     for dt1, dt0 in laggeddates(self):
         if dt1 <= dt0:
             return False
     return True
Example #3
0
 def frequency(self):
     freq = 0;
     for d1,d0 in laggeddates(self):
         freq += days(d1,d0) 
     return freq/(len(self)-1)