DataFrame.melt fails if there are duplicate value_vars #41951
Labels
Regression
Functionality that used to work in a prior pandas version
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Milestone
DataFrame.columns.get_indexer fails if there are duplicate column names.
pandas/pandas/core/reshape/melt.py
Line 109 in 05552d3
This is really unfortunate -- melting should handle such cases
id value value
id1 2 3
should go to
id1 2
id1 3
The text was updated successfully, but these errors were encountered: