Created
July 31, 2020 14:30
-
-
Save arunm8489/b63cd3b28838442e7bbf0d56f1cb29a6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# merge two column text dataframe: | |
data["essay"] = data["project_essay_1"].map(str) + data["project_essay_2"].map(str) + data["project_essay_3"].map(str) + data["project_essay_4"].map(str) + data['project_title'].map(str) | |
processed_essays = preprocess_text(data['essay'].values) | |
data['essay'] = processed_essays |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment