I have a data frame like this:
df
col1 col2 col3
ab 1 prab
cd 2 cdff
ef 3 eef
I want to remove col1 values from the col3 values
the final data frame should look like<
df
col1 col2 col3
ab 1 pr
cd 2 ff
ef 3 e
How to do it using pandas in most effective way ?