def compress_bucket_row(self, num_deleted=1):
    for i in range(num_deleted, (ADWIN.MAX_BUCKETS + 1)):
        self.bucket_total[(i - num_deleted)] = self.bucket_total[i]
        self.bucket_variance[(i - num_deleted)] = self.bucket_variance[i]
    for i in range(1, (num_deleted + 1)):
        self.__clear_buckets(((ADWIN.MAX_BUCKETS - i) + 1))
    self.bucket_size_row -= num_deleted
def compress_bucket_row(self, num_deleted=1):
    for i in range(num_deleted, (ADWIN.MAX_BUCKETS + 1)):
        self.bucket_total[(i - num_deleted)] = self.bucket_total[i]
        self.bucket_variance[(i - num_deleted)] = self.bucket_variance[i]
    for i in range(1, (num_deleted + 1)):
        self.__clear_buckets(((ADWIN.MAX_BUCKETS - i) + 1))
    self.bucket_size_row -= num_deleted