Returns an ndarray of quantile breaks.

def quantiles(self, k=5):
        """Returns an ndarray of quantile breaks."""
        arr = self.array()
        q = list(np.linspace(0, 100, k))
        return np.percentile(arr.compressed(), q)