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

Small cleanups #26874

Merged
merged 1 commit into from
Jun 16, 2019
Merged

Small cleanups #26874

merged 1 commit into from
Jun 16, 2019

Conversation

jbrockmendel
Copy link
Member

Broken off from another branch to trim the diff on an upcoming PR.

@property
def shape(self):
return (len(self),)

Copy link
Member Author

Choose a reason for hiding this comment

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

already defined in parent class

@@ -191,6 +191,8 @@ def _chk_truncate(self):
series = concat((series.iloc[:row_num],
series.iloc[-row_num:]))
self.tr_row_num = row_num
else:
self.tr_row_num = None
Copy link
Member Author

Choose a reason for hiding this comment

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

not a big deal, but this attribute should exist unconditionally

@codecov
Copy link

codecov bot commented Jun 16, 2019

Codecov Report

Merging #26874 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26874      +/-   ##
==========================================
- Coverage   91.88%   91.87%   -0.02%     
==========================================
  Files         179      179              
  Lines       50696    50693       -3     
==========================================
- Hits        46581    46573       -8     
- Misses       4115     4120       +5
Flag Coverage Δ
#multiple 90.46% <100%> (-0.01%) ⬇️
#single 41.09% <75%> (-0.08%) ⬇️
Impacted Files Coverage Δ
pandas/core/arrays/datetimelike.py 97.92% <ø> (-0.01%) ⬇️
pandas/core/dtypes/concat.py 96.58% <ø> (ø) ⬆️
pandas/core/internals/managers.py 95.21% <ø> (-0.01%) ⬇️
pandas/core/arrays/datetimes.py 97.79% <ø> (-0.01%) ⬇️
pandas/io/formats/format.py 97.91% <100%> (ø) ⬆️
pandas/core/internals/blocks.py 94.38% <100%> (-0.01%) ⬇️
pandas/core/internals/construction.py 95.93% <100%> (ø) ⬆️
pandas/io/gbq.py 88.88% <0%> (-11.12%) ⬇️
pandas/core/frame.py 96.88% <0%> (-0.12%) ⬇️
pandas/util/testing.py 90.84% <0%> (-0.11%) ⬇️

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

1 similar comment
@codecov
Copy link

codecov bot commented Jun 16, 2019

Codecov Report

Merging #26874 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26874      +/-   ##
==========================================
- Coverage   91.88%   91.87%   -0.02%     
==========================================
  Files         179      179              
  Lines       50696    50693       -3     
==========================================
- Hits        46581    46573       -8     
- Misses       4115     4120       +5
Flag Coverage Δ
#multiple 90.46% <100%> (-0.01%) ⬇️
#single 41.09% <75%> (-0.08%) ⬇️
Impacted Files Coverage Δ
pandas/core/arrays/datetimelike.py 97.92% <ø> (-0.01%) ⬇️
pandas/core/dtypes/concat.py 96.58% <ø> (ø) ⬆️
pandas/core/internals/managers.py 95.21% <ø> (-0.01%) ⬇️
pandas/core/arrays/datetimes.py 97.79% <ø> (-0.01%) ⬇️
pandas/io/formats/format.py 97.91% <100%> (ø) ⬆️
pandas/core/internals/blocks.py 94.38% <100%> (-0.01%) ⬇️
pandas/core/internals/construction.py 95.93% <100%> (ø) ⬆️
pandas/io/gbq.py 88.88% <0%> (-11.12%) ⬇️
pandas/core/frame.py 96.88% <0%> (-0.12%) ⬇️
pandas/util/testing.py 90.84% <0%> (-0.11%) ⬇️

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

Copy link
Contributor

@topper-123 topper-123 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@topper-123 topper-123 added this to the 0.25.0 milestone Jun 16, 2019
@topper-123 topper-123 merged commit 2115bf3 into pandas-dev:master Jun 16, 2019
@jbrockmendel jbrockmendel deleted the catch_less branch June 16, 2019 16:05
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.

2 participants