I remember seeing a comment about there still being URLs in the text. I used the following on another project with some pretty good success: .apply(lambda x: re.sub('(http\S*|www\S*)', '', x)). There are probably ways to improve this. Could be useful if we want to filter those out.
I remember seeing a comment about there still being URLs in the text. I used the following on another project with some pretty good success:
.apply(lambda x: re.sub('(http\S*|www\S*)', '', x))
. There are probably ways to improve this. Could be useful if we want to filter those out.