def compute(self):
        """
        Force lazy computations to execute for datasets backed by Spark (Spark only).
        """
        if self.mode == 'spark':
            self.values.tordd().count()
        else:
            notsupported(self.mode)