I want the column to return 'Consider' if a comment column contains a string 'True_Critical' otherwise return the 'Not Consider'.
Comment Result
True_Critical_Alarm - Confirmed with DB Consider
True_Critical - Confirmed with DBM Conisder
True_Normal- Confirmed with DB Not Conisder
I used df['cosider']=df['Comment '].str.startswith('True_critical') but it is not work.