Created
January 1, 2019 10:36
-
-
Save arshjat/42fe7404a6c16d959fee904062ee6d26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
train['tweet'] = train['tweet'].apply(lambda x : ' '.join([w for w in x.split() if not w.startswith('@') ]) ) | |
test['tweet'] = test['tweet'].apply(lambda x : ' '.join([w for w in x.split() if not w.startswith('@') ]) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment