📜  删除非字母 pandas python 代码示例

📅  最后修改于: 2022-03-11 14:45:03.706000             🧑  作者: Mango

代码示例1
import pandas as pd

ded = pd.DataFrame({'strings': ['a#bc1!', 'a(b$c']})

ded.strings.str.replace('[^a-zA-Z0-9]', '')