I have a panda data frame that I need to cleanse one of the columns. The column has few possible values. For example, if it contains LC50 =1.4±0.2μM I need to take following actions:
- find
LC50 = - if it find the
LC50 =, need to take the number before±(i.e., 1.4) - if it finds
μM,mM,µg/ml, or etc. scales, remove from this column and add it to a new column that I have added before.
- How to do this?
- Is there any resources that I can learn more specifically and practically about regular expression and data cleansing using them using sample codes? if yes, please share.