So I need to shift the column to the left to a particular column.
Given Table
H | I | J | K | L | |
---|---|---|---|---|---|
Rishabh | Uttar | Pradesh | Lucknow | 602303 | Yes |
Charlie | Tamil | Nadu | Chennai | 963258 | No |
Bheem | Rajasthan | Bhavnagar | 123456 | Yes |
Desired Output
H | I | J | K | L | |
---|---|---|---|---|---|
Rishabh | Uttar Pradesh | Lucknow | 602303 | Yes | |
Charlie | Tamil Nadu | Chennai | 963258 | No | |
Bheem | Rajasthan | Bhavnagar | 123456 | Yes |
Using Python how can I get this desired output? As we have to use here pandas library but I'm not able to figure out what to do