Oct-26-2019, 09:52 PM
In the above I had to pivot few cols, when do that I get duplicates error
"ValueError: Index contains duplicate entries, cannot reshape” error when I try to use
So I added a unique ID col so it pivots but then I get multiple rows for same id , instead I need them to be in one single row. Please see the screenshot attached.
Multiple_Row_issue
how do I get rid of ti, I do not need first column , I just added it to avoid duplicates error.Please suggest. Appreciate your help!
"ValueError: Index contains duplicate entries, cannot reshape” error when I try to use
So I added a unique ID col so it pivots but then I get multiple rows for same id , instead I need them to be in one single row. Please see the screenshot attached.
Multiple_Row_issue
how do I get rid of ti, I do not need first column , I just added it to avoid duplicates error.Please suggest. Appreciate your help!