-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
Regression in to_excel when setting duplicate column names #39800
Conversation
phofl
commented
Feb 13, 2021
- closes BUG: DataFrame.to_excel() now raises if column parameter contains duplicates #39695
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
Changes LGTM. Restarted CI on failed build since it looks unrelated. |
doc/source/whatsnew/v1.2.2.rst
Outdated
@@ -27,6 +27,7 @@ Fixed regressions | |||
- Fixed regression in :meth:`~DataFrame.groupby` or :meth:`~DataFrame.resample` when aggregating an all-NaN or numeric object dtype column (:issue:`39329`) | |||
- Fixed regression in :meth:`.Rolling.count` where the ``min_periods`` argument would be set to ``0`` after the operation (:issue:`39554`) | |||
- Fixed regression in :func:`read_excel` that incorrectly raised when the argument ``io`` was a non-path and non-buffer and the ``engine`` argument was specified (:issue:`39528`) | |||
- Fixed regression in :func:`pandas.to_excel` raising ``KeyError`` when giving duplicate columns with ``columns`` attribute (:issue:`39695`). |
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.
move to 1.2.3 and remove trailing period
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.
Sorry, somehow I am still at 1.2.2 :(
thanks @phofl |
@meeseeksdev backport 1.2.x |
…licate column names
…umn names (#39827) Co-authored-by: patrick <61934744+phofl@users.noreply.github.com>