8000 DOC: Improved the docstring of pandas.DataFrame.values by math-and-data · Pull Request #20065 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DOC: Improved the docstring of pandas.DataFrame.values #20065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 10, 2018
Prev Previous commit
Next Next commit
DOC: Improved the docstring of pandas.DataFrame.values
replaced NDFrame by DataFrame
  • Loading branch information
math-and-data authored Mar 9, 2018
commit 41a26910900e9651f79db82c1fc3a1b7b55afc85
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4241,7 +4241,7 @@ def values(self):
Returns
-------
numpy.ndarray
The values of the NDFrame
The values of the DataFrame

Copy link
Member

Choose a reason for hiding this comment

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

I think from_array could be a good option for a See Also section. If I'm not wrong it's kind of the inverse method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I went with from_records, thank you for suggesting to include the inverse in that section.

Examples
--------
Expand Down
0