You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Updating scraped news data to remove unnecessary textual units
def replace_all(text, arr):
for each in arr:
text=text.replace(each,"")
return text
to_replace= ["None", "Click here for your comments", "Comment via Facebook", "Don't have facebook account? Use this form to comment ", "Published: 02-07-2016"]