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

CLN: Follow-ups to #24024 #24573

Merged
merged 4 commits into from
Jan 3, 2019
Merged

CLN: Follow-ups to #24024 #24573

merged 4 commits into from
Jan 3, 2019

Conversation

jbrockmendel
Copy link
Member

grepped for TODO in the affected files and took care of the easy ones.

Addresses a flake8 complaint in MultiIndex (no idea why it is only showing up locally)

@jbrockmendel jbrockmendel mentioned this pull request Jan 2, 2019
12 tasks
@@ -3082,7 +3082,7 @@ def _box_item_values(self, key, values):
def _maybe_cache_changed(self, item, value):
"""The object has called back to us saying maybe it has changed.
"""
self._data.set(item, value, check=False)
Copy link
Member Author

Choose a reason for hiding this comment

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

check is never True, removed the corresponding code in internals.managers and internals.blocks

method.__name__ = name
# TODO: docstrings
method.__name__ = array_method.__name__
method.__doc__ = array_method.__doc__
Copy link
Member Author

Choose a reason for hiding this comment

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

this should address @jorisvandenbossche's point that docstrings are lost in the existing implementation

@codecov
Copy link

codecov bot commented Jan 2, 2019

Codecov Report

Merging #24573 into master will decrease coverage by 49.25%.
The diff coverage is 76.92%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #24573       +/-   ##
===========================================
- Coverage   92.31%   43.06%   -49.26%     
===========================================
  Files         166      166               
  Lines       52556    52526       -30     
===========================================
- Hits        48518    22619    -25899     
- Misses       4038    29907    +25869
Flag Coverage Δ
#multiple ?
#single 43.06% <76.92%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/multi.py 34.88% <ø> (-60.71%) ⬇️
pandas/core/algorithms.py 50.47% <ø> (-44.17%) ⬇️
pandas/core/indexes/timedeltas.py 44.41% <ø> (-45.84%) ⬇️
pandas/core/indexes/period.py 36.75% <ø> (-55.43%) ⬇️
pandas/core/arrays/datetimelike.py 43.89% <0%> (-52.72%) ⬇️
pandas/core/indexes/datetimelike.py 56.53% <100%> (-40.36%) ⬇️
pandas/core/arrays/datetimes.py 64.79% <100%> (-33.23%) ⬇️
pandas/core/generic.py 39.83% <100%> (-56.79%) ⬇️
pandas/core/internals/managers.py 66.8% <100%> (-29.14%) ⬇️
pandas/core/indexes/datetimes.py 48.52% <100%> (-47.77%) ⬇️
... and 136 more

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 588b558...fafe66e. Read the comment docs.

@codecov
Copy link

codecov bot commented Jan 2, 2019

Codecov Report

Merging #24573 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #24573      +/-   ##
==========================================
+ Coverage   92.31%   92.32%   +0.01%     
==========================================
  Files         166      166              
  Lines       52556    52524      -32     
==========================================
- Hits        48518    48494      -24     
+ Misses       4038     4030       -8
Flag Coverage Δ
#multiple 90.75% <100%> (ø) ⬆️
#single 43.05% <68.96%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/arrays/datetimelike.py 96.76% <ø> (+0.15%) ⬆️
pandas/core/indexes/multi.py 95.58% <ø> (ø) ⬆️
pandas/core/algorithms.py 94.77% <ø> (+0.14%) ⬆️
pandas/core/indexes/timedeltas.py 90.22% <ø> (-0.03%) ⬇️
pandas/core/indexes/period.py 92.12% <ø> (-0.06%) ⬇️
pandas/core/indexes/datetimelike.py 96.87% <100%> (-0.02%) ⬇️
pandas/core/arrays/datetimes.py 98.01% <100%> (-0.01%) ⬇️
pandas/io/packers.py 88.08% <100%> (ø) ⬆️
pandas/core/internals/blocks.py 93.72% <100%> (+0.29%) ⬆️
pandas/core/generic.py 96.62% <100%> (ø) ⬆️
... and 4 more

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 588b558...fafe66e. Read the comment docs.

@jreback jreback added the Clean label Jan 2, 2019
@jreback jreback added this to the 0.24.0 milestone Jan 2, 2019
@jreback
Copy link
Contributor

jreback commented Jan 2, 2019

lgtm.

@jbrockmendel
Copy link
Member Author

great. after this will be a missing-test pass

@jreback jreback merged commit 1fc76b8 into pandas-dev:master Jan 3, 2019
@jbrockmendel jbrockmendel deleted the cover branch January 3, 2019 00:14
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.

2 participants