I have the following characters running on DataFrame:
1.83
1
71%
4.25
X
18%
4.30
2
11%
+88
I'm trying regular expression to achieve this: 1.83
4.25
4.30
I've so far tried this code snippet in pandas:
import re
clean_dict = {'[nX%+]':'','
1':''}
but this fails to remove the other unwanted characters.
I'm using regex101.com for testing
What's the best way to resolve this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…