How can I replace, for example, all "-sh2", in a column (V2) with -100, as in the following dataframe:
V1 V2 V3
p1 -sh2 13
p2 23 29
p3 17 25
p4 -sh2 34
Thanks
How can I replace, for example, all "-sh2", in a column (V2) with -100, as in the following dataframe:
V1 V2 V3
p1 -sh2 13
p2 23 29
p3 17 25
p4 -sh2 34
Thanks