I have a dataframe in which one columns have 4 different values such as 100, 200, 300 and 400. I want to create a new column that:
- For 100, it becomes 25
- For 200, it becomes 30
- For 300 it becomes 33
- For 400 it becomes43... etc...
How can I do it without looping?