I am trying to implement the following logic on a python dataframe.
If the string value in Column A is in a list that I pre-designated, then replace Column B with the value in Column A. Otherwise, leave the value in column B as is.
The closest I can get right now is a wonky np.where statement that isn't quite what I want and errors out. Please see below.
Any help is greatly appreciated
