从数据框列中删除特殊字符

时间:2019-03-27 03:07:10

标签: python pandas nlp text-processing

我有一个数据框,其中有一列包含文本数据。我想从文本数据中删除特殊字符。 例如,df列看起来类似于此-

user_id     text data column
    1        Have a nice day ahead!! take care...@Kol...
    2        #hello....world!!
    3        Good_Bye's
    4        https://www.facebook.com
    5        "Merry Christmas"

输出应为:

user_id     text data column
    1        Have a nice day ahead take care Kol
    2        hello world
    3        Good Byes
    4        https www facebook com
    5        Merry Christmas

如何使用python

0 个答案:

没有答案
相关问题