-
-
Save amankharwal/13faf2b7fa9758aec4099bd09b1a5430 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
df = pd.read_csv('lang_data.csv') # Read raw data | |
df = df.dropna() # remove null values for the "text" column | |
df['text'] = df['text'].astype(str) # Convert the column "text" from object to a string in order to operate on it | |
df['language'] = df['language'].astype(str) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment