I'd like to consolidate dataframe but I don't know how to upload dataframe here so I just remain link below.
The data(original data on my spreadsheet)that I want to consolidate is form of series or dataframe.
Part#: consists of 8~13 character set (alphabet and number mixed)
Description: always right below the Part#.
Ref#: lots of Ref# separated by comma. At the end of last Ref#, there is no comma
From my last question, someone advised me to find Part# with iloc. But I will have a lot of row to be consolidated so I am not afford to designate them one by one. Is there anybody to give me achieve
With stack function, I want to stack Ref# and every different Ref# has to have its Part# and description according to its above value on original data
How I can build up python code for this?
https://docs.google.com/spreadsheets/d/10zSKfXavaXWl1MOo_ScW60rbERUDiQtDi6p-UbrUgro/edit?usp=sharing




