8000 DOC:Remove hard-coded examples from _flex_doc_SERIES (#24589) by danielplawrence · Pull Request #25524 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DOC:Remove hard-coded examples from _flex_doc_SERIES (#24589) #25524

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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC:Fix a long line to satisfy PEP8 (#24589)
  • Loading branch information
danielplawrence committed Mar 4, 2019
commit 74d47c6f132bc80e09d2c1fca4cbe93fe6b2572e
4 changes: 2 additions & 2 deletions pandas/core/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,8 +1056,8 @@ def _make_flex_doc(op_name, typ):

if typ == 'series':
base_doc = _flex_doc_SERIES
doc_no_examples = base_doc.format(desc=op_desc['desc'], op_name=op_name,
equiv=equiv, reverse=op_desc['reverse'])
doc_no_examples = base_doc.format(desc=op_desc['desc'],
op_name=op_name, equiv=equiv, reverse=op_desc['reverse'])
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is what failed the build. Should be aligned with the open paren on the previous line, or move desc=... down here.

if op_desc['series_examples']:
doc = doc_no_examples + op_desc['series_examples']
else:
Expand Down
0