Skip to content
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

DOC: fix flake8 issue in groupby.rst #24363

Merged

Conversation

LJArendse
Copy link
Contributor

Fixed flake8 issue in groupby.rst, see Issue #24178 for more info.

The following flake8 'errors' have been fixed:

  • doc/source/groupby.rst:72:18: F821 undefined name 'obj'
  • doc/source/groupby.rst:72:30: F821 undefined name 'key'
  • doc/source/groupby.rst:73:18: F821 undefined name 'obj'
  • doc/source/groupby.rst:73:30: F821 undefined name 'key'
  • doc/source/groupby.rst:74:18: F821 undefined name 'obj'
  • doc/source/groupby.rst:74:31: F821 undefined name 'key1'
  • doc/source/groupby.rst:74:37: F821 undefined name 'key2'
  • doc/source/groupby.rst:1306:42: F821 undefined name 'report_func'
  • doc/source/groupby.rst:242:15: E225 missing whitespace around operator
  • doc/source/groupby.rst:242:15: E999 SyntaxError: invalid syntax
  • doc/source/groupby.rst:242:19: E225 missing whitespace around operator

doc/source/groupby.rst:72:18: F821 undefined name 'obj'
doc/source/groupby.rst:72:30: F821 undefined name 'key'
doc/source/groupby.rst:73:18: F821 undefined name 'obj'
doc/source/groupby.rst:73:30: F821 undefined name 'key'
doc/source/groupby.rst:74:18: F821 undefined name 'obj'
doc/source/groupby.rst:74:31: F821 undefined name 'key1'
doc/source/groupby.rst:74:37: F821 undefined name 'key2'
@codecov
Copy link

codecov bot commented Dec 19, 2018

Codecov Report

Merging #24363 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #24363   +/-   ##
=======================================
  Coverage   92.29%   92.29%           
=======================================
  Files         162      162           
  Lines       51808    51808           
=======================================
  Hits        47817    47817           
  Misses       3991     3991
Flag Coverage Δ
#multiple 90.7% <ø> (ø) ⬆️
#single 42.99% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 88aebed...dec7e63. Read the comment docs.

@codecov
Copy link

codecov bot commented Dec 19, 2018

Codecov Report

Merging #24363 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #24363      +/-   ##
==========================================
+ Coverage    92.3%   92.31%   +<.01%     
==========================================
  Files         163      163              
  Lines       51987    51987              
==========================================
+ Hits        47989    47990       +1     
+ Misses       3998     3997       -1
Flag Coverage Δ
#multiple 90.72% <ø> (ø) ⬆️
#single 42.99% <ø> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/util/testing.py 87.84% <0%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08c920e...84c0110. Read the comment docs.

doc/source/groupby.rst Show resolved Hide resolved
doc/source/groupby.rst Outdated Show resolved Hide resolved
@jreback jreback added the Docs label Dec 19, 2018
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.

thanks for the fixes, added few comments

doc/source/groupby.rst Outdated Show resolved Hide resolved
doc/source/groupby.rst Outdated Show resolved Hide resolved
doc/source/groupby.rst Show resolved Hide resolved
doc/source/groupby.rst Show resolved Hide resolved
doc/source/groupby.rst Outdated Show resolved Hide resolved
@datapythonista
Copy link
Member

@LJArendse do you have time to address comments of the reviews?

@LJArendse
Copy link
Contributor Author

@datapythonista Hi, yes I do. Sorry for the 'radio silence'.

doc/source/groupby.rst:72:18: F821 undefined name 'obj'
doc/source/groupby.rst:72:30: F821 undefined name 'key'
doc/source/groupby.rst:73:18: F821 undefined name 'obj'
doc/source/groupby.rst:73:30: F821 undefined name 'key'
doc/source/groupby.rst:74:18: F821 undefined name 'obj'
doc/source/groupby.rst:74:31: F821 undefined name 'key1'
doc/source/groupby.rst:74:37: F821 undefined name 'key2'

df = pd.DataFrame(
[('bird', 'Falconiformes', 389.0),
('bird', 'Psittaciformes', 24.0),
Copy link
Member

Choose a reason for hiding this comment

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

this indentation doesn't seem correct, the opening parenthesis should be at the same level

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks I see, just fixed indentation.

@jreback jreback added this to the 0.24.0 milestone Dec 27, 2018
@jreback jreback merged commit 003609a into pandas-dev:master Dec 27, 2018
@jreback
Copy link
Contributor

jreback commented Dec 27, 2018

thanks @LJArendse

thoo added a commit to thoo/pandas that referenced this pull request Dec 28, 2018
* upstream/master: (26 commits)
  DOC: Fixing doc upload (no such remote origin) (pandas-dev#24459)
  BLD: for C extension builds on mac, target macOS 10.9 where possible (pandas-dev#24274)
  POC: _eadata (pandas-dev#24394)
  DOC: Correct location (pandas-dev#24456)
  CI: Moving CircleCI build to Travis (pandas-dev#24449)
  BUG: Infer compression by default in read_fwf() (pandas-dev#22200)
  DOC: Fix minor typo in whatsnew (pandas-dev#24453)
  DOC: Add dateutil to intersphinx pandas-dev#24437 (pandas-dev#24443)
  DOC: Adding links to offset classes in timeseries.rst (pandas-dev#24448)
  DOC: Adding offsets to API ref (pandas-dev#24446)
  DOC: fix flake8 issue in groupby.rst (pandas-dev#24363)
  DOC: Fixing more doc warnings (pandas-dev#24438)
  API: Simplify repeat signature (pandas-dev#24447)
  BUG: to_datetime(Timestamp, utc=True) localizes to UTC (pandas-dev#24441)
  CLN: Cython Py2/3 Compatible Imports (pandas-dev#23940)
  DOC: Fixing more doc warnings (pandas-dev#24431)
  DOC: Removing old release.rst (pandas-dev#24427)
  BUG-24408 Series.dt does not maintain own copy of index (pandas-dev#24426)
  DOC: Fixing several doc warnings (pandas-dev#24430)
  ENH: fill_value argument for shift pandas-dev#15486 (pandas-dev#24128)
  ...
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 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.

3 participants