Skip to content

DOC Improve CountVectorizer and TfidfVectorizer return type#16790

Merged
rth merged 1 commit intoscikit-learn:masterfrom
bmaingret:fix_16776
Apr 5, 2020
Merged

DOC Improve CountVectorizer and TfidfVectorizer return type#16790
rth merged 1 commit intoscikit-learn:masterfrom
bmaingret:fix_16776

Conversation

@bmaingret
Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Fixes #16776

What does this implement/fix? Explain your changes.

Correct the one-line description of the fit_transform method of CountVectorizer and TfidfVectorizer to be consistent with the Returns documentation of each methods.

Previously : "return term-document matrix"

Now: "return document-term matrix"

This is in line with the return type.

Copy link
Copy Markdown
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this is your first time contributing, welcome @bmaingret!

LGTM

@rth rth changed the title Fix: Documentation of CountVectorizer and TfidfVectorizer return type - Issue#16776 Fix: Documentation of CountVectorizer and TfidfVectorizer return type Apr 5, 2020
@rth rth changed the title Fix: Documentation of CountVectorizer and TfidfVectorizer return type DOC Improve CountVectorizer and TfidfVectorizer return type Apr 5, 2020
@rth rth merged commit 1735d3d into scikit-learn:master Apr 5, 2020
@rth
Copy link
Copy Markdown
Member

rth commented Apr 5, 2020

Thanks @bmaingret!

gio8tisu pushed a commit to gio8tisu/scikit-learn that referenced this pull request May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent documentation on return format in CountVectorizer and TfidfVectorizer fit_transform method

3 participants