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

Regression in to_excel when setting duplicate column names #39800

Merged
merged 4 commits into from
Feb 15, 2021

Conversation

phofl
Copy link
Member

@phofl phofl commented Feb 13, 2021

@phofl phofl added IO Excel read_excel, to_excel Regression Functionality that used to work in a prior pandas version labels Feb 13, 2021
@gfyoung
Copy link
Member

gfyoung commented Feb 13, 2021

Changes LGTM. Restarted CI on failed build since it looks unrelated.

@gfyoung gfyoung added this to the 1.2.3 milestone Feb 13, 2021
@@ -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`).
Copy link
Member

@simonjayhawkins simonjayhawkins Feb 14, 2021

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

Copy link
Member Author

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 :(

@jreback jreback merged commit 5c987b7 into pandas-dev:master Feb 15, 2021
@jreback
Copy link
Contributor

jreback commented Feb 15, 2021

thanks @phofl

@jreback
Copy link
Contributor

jreback commented Feb 15, 2021

@meeseeksdev backport 1.2.x

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Feb 15, 2021
simonjayhawkins pushed a commit that referenced this pull request Feb 16, 2021
…umn names (#39827)

Co-authored-by: patrick <61934744+phofl@users.noreply.github.com>
znicholls pushed a commit to znicholls/pandas that referenced this pull request Feb 17, 2021
@phofl phofl deleted the 39695 branch February 18, 2021 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Excel read_excel, to_excel Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DataFrame.to_excel() now raises if column parameter contains duplicates
4 participants