You can make use of python regular expression.
import re
data.jobDescription.apply(lambda x : '.join(re.findall("[a-zA-Z0-9 ]",text)))
The regex pattern will only allow alphabets and numbers, if you want to include symbols, you can add in the pattern to achieve that.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.