u/Arbousier83

How to replace all the values in a column with another value ?

Hi there, I have a column containing either A or B as chr values and I want to convert them in order to have A = 1 and B = 2, both as numeric values. Do you know any function I can use to do that ? Thank you very much for your respons !

reddit.com
u/Arbousier83 — 9 days ago