I have this table that shows edit, upload and move rights for a page and also along with each right 3 other properties like Cascade, Expiry and Permissions.
Now I want to change multiple entries into a single row such that it has columns like Edit_Permissions, Move_Permissions, Upload_Permissions, Edit_Cascade, Move_Cascade, Upload_Cascade, Edit_Expiry, Move_Expiry, Upload_Expiry (I want a flattened column classification) but when I used pivot feature of Pandas, the new dataframe shows multiple hierarchical column classification)
Is there any way I can get columns in a flattened manner, just like this:
Please note the resultant dataframe is not a Multi index column dataframe, I checked using this piece of code: