Skip to content

Fix EX03 errors in generic.py #30448

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 1 commit into from
Dec 24, 2019
Merged

Conversation

martinagvilas
Copy link
Contributor

Fixes EX03 errors in the examples of some docstrings in the script pandas/core/ generic.py.

Specifically, flake8 errors in the docstrings of the following functions were corrected:

pandas.DataFrame.add_prefix
pandas.DataFrame.add_suffix
pandas.DataFrame.head
pandas.DataFrame.last
pandas.DataFrame.pop
pandas.DataFrame.reindex
pandas.DataFrame.reindex_like
pandas.DataFrame.tail
pandas.DataFrame.take
pandas.DataFrame.to_xarray 
pandas.DataFrame.truncate
pandas.DataFrame.tz_localize

Related to #27977 cc @datapythonista

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for the fixes!

@jreback jreback added the Docs label Dec 24, 2019
@WillAyd WillAyd added this to the 1.0 milestone Dec 24, 2019
@WillAyd WillAyd merged commit 5e810a8 into pandas-dev:master Dec 24, 2019
@WillAyd
Copy link
Member

WillAyd commented Dec 24, 2019

Thanks @martinagvilas . This error still occurs in other modules right? Would certainly take more PRs to fix up if interested

AlexKirko pushed a commit to AlexKirko/pandas that referenced this pull request Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants