def uncache(self):
        """
        Disable in-memory caching (Spark only).
        """
        if self.mode == 'spark':
            self.values.unpersist()
            return self
        else:
            notsupported(self.mode)