Skip to content

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Nov 13, 2018

xref #10523 (comment).

We already support mangle_dupe_cols (in the same vein as CSV). It was just hidden in **kwds. This just documents it in read_excel (it behaves exactly as it does in read_csv) and tests that we inform the end user that mangle_dupe_cols=False is not supported...yet.

Explicitly surfacing relevant CSV-related arguments will allow us to eventually remove the magical **kwds and obviate need for validation (xref #22189).

@gfyoung gfyoung added Testing pandas testing functions or related to the test suite Docs IO Excel read_excel, to_excel labels Nov 13, 2018
@gfyoung gfyoung added this to the 0.24.0 milestone Nov 13, 2018
@pep8speaks
Copy link

Hello @gfyoung! Thanks for submitting the PR.

@codecov
Copy link

codecov bot commented Nov 14, 2018

Codecov Report

Merging #23678 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #23678   +/-   ##
=======================================
  Coverage   92.24%   92.24%           
=======================================
  Files         161      161           
  Lines       51318    51318           
=======================================
  Hits        47339    47339           
  Misses       3979     3979
Flag Coverage Δ
#multiple 90.63% <ø> (ø) ⬆️
#single 42.31% <ø> (ø) ⬆️

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 a197837...5954940. Read the comment docs.

@jreback jreback merged commit 2d2b214 into pandas-dev:master Nov 14, 2018
@jreback
Copy link
Contributor

jreback commented Nov 14, 2018

thanks @gfyoung

JustinZhengBC pushed a commit to JustinZhengBC/pandas that referenced this pull request Nov 14, 2018
@gfyoung gfyoung deleted the mangle-dupe-cols-add branch November 14, 2018 17:58
tm9k1 pushed a commit to tm9k1/pandas that referenced this pull request Nov 19, 2018
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Docs IO Excel read_excel, to_excel Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants