I need to compare a certain range of value of a column with a specific string in another column to update the date column with 1,7, 30 days
Col A ColB colc
5 Internal 1-1-2022
7 external 1-1-2022
4 external 1-1-2022
3 external 1-1-2022
so if df[ColA]<8 and df[ColB]=External add 7 days to df[colc]. if if df[ColA]>=8 and df[ColB]=External add 30 days to df[colc] and if df[ColB]=Internal add 120 days to df[Colc]