Hello I have a df such as
COL1 COL2
G1 [OK_+__SP2,PL_-__SP2]
G2 [IQO_-__SP1_8,PL2_-__SP2]
G2 [IRO_+__SP8]
and I would like to remove for each element of the COL2
, the part before __
and get
COL1 COL2
G1 ['SP2','SP2']
G2 ['SP1_8','SP2']
G2 ['SP8']