def METHOD_NAME(self):
    if self.numpy_only:
        items = list(chain(*self.items[:]))
        self.items.clear()
        self.items += items
        self.cum_sizes.clear()
        self.numpy_only = False