read_excel() modifies provided types dict when accessing file with duplicate column #42462
Closed
2 of 3 tasks
Labels
Bug
IO Excel
read_excel, to_excel
Regression
Functionality that used to work in a prior pandas version
Milestone
test.xlsx :
Bug/Issue description:
When using dtype loading a .xlsx-file with a duplicate column into a dataframe modifies the provided types_dict / adds entries for duplicate columns.
It seems to me like the modification of the types_dict is an unwanted side effect.
The text was updated successfully, but these errors were encountered: