Problems:how to change Variable's observation

I get a dataset,and the sixth column of it is named 'condition',it is ranging from A to D,I want to let A into 1,B into 2 ,etc,how can I make it?
...
num in_come out_come 利润 pro condition

1 E1 5744706261. 4065843302. -1678862959. -0.413 A
2 E2 155762304. 590841713. 435079409. 0.736 A
3 E6 302282691. 366439288. 64156597. 0.175 A
4 E7 59720329. 512950626. 453230298. 0.884 A
5 E8 162413053. 358888833. 196475780. 0.547 A
6 E9 24535616. 319592135. 295056520. 0.923 A
7 E13 92028478. 212454771. 120426293. 0.567 A
8 E15 4238459. 211824339. 207585880. 0.980 A
9 E16 277181. 209410436. 209133255. 0.999 A
10 E17 130460468. 154980771. 24520303. 0.158 A
...

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.