def get_scores(self, *args):
        '''
        Returns category frequencies

        Returns
        -------
        np.array, scores
        '''
        if self.tdf_ is None:
            raise Exception("Use set_categories('category name', ['not category name', ...]) " +
                            "to set the category of interest")

        y_i = self.tdf_['cat']
        return y_i

        Returns category frequencies

        Returns
        -------
        np.array, scores
        
scattertext/termscoring/frequency.py