remove url elmo
# remove URL's from train and test | |
train['clean_tweet'] = train['tweet'].apply(lambda x: re.sub(r'http\S+', '', x)) | |
test['clean_tweet'] = test['tweet'].apply(lambda x: re.sub(r'http\S+', '', x)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment