Frequencies of each stem ([k-1]-mer)

def stem_frequencies(self):
        """Frequencies of each stem ([k-1]-mer)"""
        stemfreq = self.array.sum(axis=1).astype(np.float)
        stemfreq /= stemfreq.sum()
        return stemfreq