texthero/representation.py
def tfidf(s: pd.Series, max_features=100, min_df=1):
    """
    Represent input on a TF-IDF vector space.
    """

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

    Represent input on a TF-IDF vector space.
    
Represent input on a TF-IDF vector space.
Represent input on a TF - IDF vector space .
def tfidf(s: pd.Series, max_features=100, min_df=1):
    tfidf = TfidfVectorizer(use_idf=True,
                            max_features=max_features,
                            min_df=min_df)
    return pd.Series(tfidf.fit_transform(s).toarray().tolist(), index=s.index)
def tfidf ( s : pd . Series , max_features = 100 , min_df = 1 ) : tfidf = TfidfVectorizer ( use_idf = True , max_features = max_features , min_df = min_df ) return pd . Series ( tfidf . fit_transform ( s ) . toarray ( ) . tolist ( ) , index = s . index )
Represent input on a TF-IDF vector space.
Represent input on a TF - IDF vector space .
"""
    Represent input on a TF-IDF vector space.
    """
s
pd.Series
max_features
min_df