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

Annotate DataFrame (Part 1) #26867

Merged
merged 28 commits into from
Sep 12, 2019

Conversation

vaibhavhrt
Copy link
Contributor

@vaibhavhrt vaibhavhrt commented Jun 15, 2019

Copy link
Contributor Author

@vaibhavhrt vaibhavhrt left a comment

Choose a reason for hiding this comment

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

@WillAyd some feedback.
I will annotate these function in this PR. Functions after these are grouped using comments like, Rendering Methods, IO methods, etc. I will do one group of methods at a time after this.

pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/frame.py Show resolved Hide resolved
pandas/core/frame.py Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jun 15, 2019

Codecov Report

Merging #26867 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26867      +/-   ##
==========================================
- Coverage   91.88%   91.87%   -0.01%     
==========================================
  Files         179      179              
  Lines       50696    50701       +5     
==========================================
+ Hits        46581    46582       +1     
- Misses       4115     4119       +4
Flag Coverage Δ
#multiple 90.46% <100%> (ø) ⬆️
#single 41.09% <100%> (-0.08%) ⬇️
Impacted Files Coverage Δ
pandas/core/frame.py 96.89% <100%> (-0.11%) ⬇️
pandas/io/gbq.py 88.88% <0%> (-11.12%) ⬇️

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 430f0fd...5e70e01. Read the comment docs.

@codecov
Copy link

codecov bot commented Jun 15, 2019

Codecov Report

Merging #26867 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26867      +/-   ##
==========================================
- Coverage      93%      93%   -0.01%     
==========================================
  Files         182      182              
  Lines       50311    50316       +5     
==========================================
+ Hits        46793    46794       +1     
- Misses       3518     3522       +4
Flag Coverage Δ
#multiple 91.67% <100%> (ø) ⬆️
#single 42.4% <100%> (-0.09%) ⬇️
Impacted Files Coverage Δ
pandas/core/frame.py 97.15% <100%> (-0.12%) ⬇️
pandas/io/gbq.py 88.88% <0%> (-11.12%) ⬇️

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 ebcfee4...fba0fcc. Read the comment docs.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

Looks great on first pass!

pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/frame.py Show resolved Hide resolved
@WillAyd WillAyd added the Typing type annotations, mypy/pyright type checking label Jun 15, 2019
pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/frame.py Outdated Show resolved Hide resolved
Copy link
Contributor Author

@vaibhavhrt vaibhavhrt left a comment

Choose a reason for hiding this comment

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

I think everything except type for data is done.

pandas/_typing.py Outdated Show resolved Hide resolved
pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/_typing.py Outdated Show resolved Hide resolved
pandas/core/frame.py Outdated Show resolved Hide resolved
@vaibhavhrt
Copy link
Contributor Author

Note to self: finish this.

@pep8speaks
Copy link

pep8speaks commented Jul 17, 2019

Hello @vaibhavhrt! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-09-12 15:57:32 UTC

@vaibhavhrt vaibhavhrt marked this pull request as ready for review July 17, 2019 13:32
pandas/_typing.py Outdated Show resolved Hide resolved
pandas/_typing.py Outdated Show resolved Hide resolved
Copy link
Contributor Author

@vaibhavhrt vaibhavhrt left a comment

Choose a reason for hiding this comment

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

@WillAyd some help

pandas/core/frame.py Outdated Show resolved Hide resolved
@vaibhavhrt
Copy link
Contributor Author

@WillAyd tests are passing, u can review now

pandas/_typing.py Outdated Show resolved Hide resolved
@jreback
Copy link
Contributor

jreback commented Sep 10, 2019

lgtm. @WillAyd and @simonjayhawkins

Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

lgtm. a couple of suggestions.

pandas/core/frame.py Outdated Show resolved Hide resolved
pandas/core/frame.py Outdated Show resolved Hide resolved
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

lgtm ex one comment

pandas/core/frame.py Outdated Show resolved Hide resolved
Co-Authored-By: Simon Hawkins <simonjayhawkins@gmail.com>
@simonjayhawkins
Copy link
Member

@vaibhavhrt ci should be fixed. can you merge master. ping on green.

@simonjayhawkins
Copy link
Member

@WillAyd ok to merge?

@simonjayhawkins simonjayhawkins merged commit 3f40528 into pandas-dev:master Sep 12, 2019
@simonjayhawkins
Copy link
Member

Thanks @vaibhavhrt

@vaibhavhrt vaibhavhrt deleted the annotate-DataFrame branch September 13, 2019 05:20
@vaibhavhrt
Copy link
Contributor Author

part 2 coming this weekend, this one took too long(3 months 😰 ), will try to speed up.

jmg7173 pushed a commit to jmg7173/pandas that referenced this pull request Sep 14, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants