remove non alphabetic pandas python

Solutions on MaxInterview for remove non alphabetic pandas python by the best coders in the world

showing results for - "remove non alphabetic pandas python"
Marie
11 Aug 2017
1import pandas as pd
2
3ded = pd.DataFrame({'strings': ['a#bc1!', 'a(b$c']})
4
5ded.strings.str.replace('[^a-zA-Z0-9]', '')