-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: Remove ExcelWriter.sheetname #26464
Conversation
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.
Thanks for the PR! Does this raise now? IIRC we have had some issues with confusion in the past where the kwargs would silently get swallowed (see #25723 as an example with the ExcelWriter) so this may have an unfortunate side effect of working but in a way that silently does the wrong thing.
I see there's already a special case to raise a ValueError is sheet
is supplied so might be a good idea to do the same thing here if this doesn't raise
Codecov Report
@@ Coverage Diff @@
## master #26464 +/- ##
==========================================
- Coverage 91.76% 91.74% -0.02%
==========================================
Files 174 174
Lines 50673 50665 -8
==========================================
- Hits 46498 46485 -13
- Misses 4175 4180 +5
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #26464 +/- ##
==========================================
- Coverage 91.74% 91.74% -0.01%
==========================================
Files 174 174
Lines 50763 50755 -8
==========================================
- Hits 46575 46563 -12
- Misses 4188 4192 +4
Continue to review full report at Codecov.
|
You were right, @WillAyd. |
doc/source/whatsnew/v0.25.0.rst
Outdated
@@ -269,7 +269,7 @@ Deprecations | |||
Removal of prior version deprecations/changes | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
- Removed ``Panel`` (:issue:`25047`, :issue:`25191`, :issue:`25231`) | |||
- | |||
- Removed the previously deprecated ``ExcelWriter.sheetname`` (:issue:`16442`, :issue:`20938`) |
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.
Actually is this part of ExcelWriter
or read_excel
? From the diff I think this should be changed to the latter
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.
Thanks for the catch! I shamelessly copied ExcelWriter
from the deprecated issue (which was probably incorrect)
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.
lgtm
lgtm. can you merge master (as @WillAyd test refactor was merged); merge on green. |
tick the box in #13777 when merged. |
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.
LGTM
Leave it to you if you want to throw parse_cols
in here as well
Thanks @mroeschke ! |
git diff upstream/master -u -- "*.py" | flake8 --diff
cc @WillAyd