-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: update the pandas.DataFrame.apply docstring #20202
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
jorisvandenbossche
merged 24 commits into
pandas-dev:master
from
mdeboc:apply_doc_sprint
Mar 12, 2018
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
52db356
DOC: update the pandas.DataFrame.apply docstring
c593a70
DOC: update the pandas.DataFrame.apply docstring
8caf5f6
DOC: update the pandas.DataFrame.apply docstring
c1214b4
DOC: update the pandas.DataFrame.apply docstring
2432ff5
DOC: update the pandas.DataFrame.apply docstring
da64c86
DOC: update the pandas.DataFrame.apply docstring
dbd90c1
DOC: update the pandas.DataFrame.apply docstring
6cbadd8
DOC: update the pandas.DataFrame.apply docstring
eaf1441
DOC: update the pandas.DataFrame.apply docstring
3794d19
DOC: update the pandas.DataFrame.apply docstring
0105edb
DOC: update the pandas.DataFrame.apply docstring
4d3e8cf
DOC: update the pandas.DataFrame.apply docstring
c4da1ea
DOC: update the pandas.DataFrame.apply docstring
ee6919e
DOC: update the pandas.DataFrame.apply docstring
23be01b
DOC: update the pandas.DataFrame.apply docstring
51ad0cb
DOC: update the pandas.DataFrame.apply docstring
cf2f2d0
DOC: update the pandas.DataFrame.apply docstring
d52ac81
DOC: update the pandas.DataFrame.apply docstring
3160fb8
DOC: update the pandas.DataFrame.apply docstring
dfa0f55
DOC: update the pandas.DataFrame.apply docstring
037c729
DOC: update the pandas.DataFrame.apply docstring
d757960
DOC: update the pandas.DataFrame.apply docstring
17039dc
Update frame.py
jorisvandenbossche c68a012
pep8
jorisvandenbossche File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you get rid of the "We use this DataFrame to illustrate" at the beginning of the examples? I don't think it adds any value.
Also, I'd personally prefer to create a smaller (e.g 3 rows, 2 cols) dataframe from a Python list, instead of all that numpy machinery. :) And if the example is with
sqrt
, I'd use numbers like9
so the user can quickly see whatapply
does, which is the goal of this example.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's simpler. See d52ac81
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@datapythonista In commit 3160fb8, I suppress an unnecessary test, unintentionally introduced in previous commit (d52ac81)