-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
ENH: Support mangle_dupe_cols=False in pd.read_csv() #13262
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Depending on how difficult this is, I would personally still have it as our goal to have |
What is the ETA on this issue? |
when / if a community pull request happens |
@caniko2 : This is quite a tricky one given that duplicate column names have unusual behavior in |
Could anyone help me to check whether current pandas 0.24.2 support "mangle_dupe_cols=False"? I find docs at http://pandas.pydata.org/pandas-docs/stable/user_guide/io.html, showing : Passing in False will cause data to be overwritten if there are duplicate names in the columns. Thanks so much! |
Still no support, as behavior of data handling has proven to be quite non-trivial when there are duplicate column names. You are welcome to give it a shot though! |
is this issue still difficult to resolve? |
Since I cannot set it to |
The documentation really shouldn't have this option if it in reality doesn't exist. Or the docs should say that this is to-be-implemented (and has been in that state for almost 6 years already) |
The argument was removed, so closing |
#12935 added full support for duplicate column names (in header or in
names
) by mangling them. While this has been considered acceptable by users, ideally, we would like to not have to mangle them.The text was updated successfully, but these errors were encountered: