I have a dataset df that looks like this:
if I want to move any value that is in the list RM. What should I do?
The df and RM can be build using codes: