I am working on splitting a column in the dataframe, the column has similar words but only the last few words are different. I am trying to split the common words in one column and the words that are different is another column.
This is how the dataframe looks like.
**Column1** InitialCharms::Charm::AAAAAA InitialCharms::Charm::BBBBBB InitialCharms::Charm::CCCCCC InitialCharms::Charm::DDDDDD InitialCharms::Charm::EEEEEE InitialCharms::Charm::FFFFFF InitialCharms::Charm::GGGGGG InitialCharms::Charm::HHHHHH InitialCharms::Charm::IIIIII InitialCharms::Charm::JJJJJJ InitialCharms::Charm::KKKKKK InitialCharms::Charm::LLLLLL The Expected output: **Column1** **Column2** InitialCharms AAAAA InitialCharms BBBBB InitialCharms CCCCC I am using pandas!
::Charm::??