texthero/representation.py
def count(s: pd.Series, max_features=100):
    """
    Represent input on a Count vector space.
    """

    tfidf = CountVectorizer(use_idf=True, max_features=max_features)
    return pd.Series(tfidf.fit_transform(s).toarray().tolist(), index=s.index)

    Represent input on a Count vector space.
    
Represent input on a Count vector space.
Represent input on a Count vector space .
def count(s: pd.Series, max_features=100):
    tfidf = CountVectorizer(use_idf=True, max_features=max_features)
    return pd.Series(tfidf.fit_transform(s).toarray().tolist(), index=s.index)
def count ( s : pd . Series , max_features = 100 ) : tfidf = CountVectorizer ( use_idf = True , max_features = max_features ) return pd . Series ( tfidf . fit_transform ( s ) . toarray ( ) . tolist ( ) , index = s . index )
Represent input on a Count vector space.
Represent input on a Count vector space .
"""
    Represent input on a Count vector space.
    """
s
pd.Series
max_features