-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Slicing an index with DateTime throws AttributeError: 'int' object has no attribute 'stop' #27127
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
Slicing an index with DateTime throws AttributeError: 'int' object has no attribute 'stop' #27127
Conversation
Fixes GH26944 AttributeError on partial multiindex timestamp slice
Codecov Report
@@ Coverage Diff @@
## master #27127 +/- ##
==========================================
- Coverage 91.87% 91.86% -0.01%
==========================================
Files 180 180
Lines 50864 50866 +2
==========================================
- Hits 46731 46729 -2
- Misses 4133 4137 +4
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #27127 +/- ##
==========================================
- Coverage 91.87% 91.86% -0.01%
==========================================
Files 180 180
Lines 50864 50819 -45
==========================================
- Hits 46731 46687 -44
+ Misses 4133 4132 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a test.
Fixes GH26944 AttributeError on partial multiindex timestamp slice and includes test.
Hello @soilstack! 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-07-01 15:42:06 UTC |
Fixes GH26944 AttributeError on partial multiindex timestamp slice and includes test and PEP8 correction.
Fixes GH26944 AttributeError on partial multiindex timestamp slice and includes test and PEP8 corrections.
Fixes GH26944 AttributeError on partial multiindex timestamp slice and includes test and PEP8 corrections w293, w391.
Fixes GH26944 AttributeError on partial multiindex timestamp slice and includes test and PEP8 corrections w293, w391. Simplified test code.
Fixes GH26944 AttributeError on partial multiindex timestamp slice and includes test and PEP8 corrections w293, w391. Simplified test code. E501
done |
oops accidentally closed |
Fixes GH26944 AttributeError on partial multiindex timestamp slice and includes test and PEP8 corrections w293, w391. Simplified test code. E501. changed assertion method.
Fixes GH26944 AttributeError on partial multiindex timestamp slice and includes test and PEP8 corrections w293, w391. Simplified test code. E501. changed assertion method. more pep8 violations.
Thanks! |
Fixes GH26944 AttributeError on partial multiindex timestamp slice
git diff upstream/master -u -- "*.py" | flake8 --diff