We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b661bd1 commit 010f45eCopy full SHA for 010f45e
Ch8/TwitterSentiment_2.ipynb
@@ -228,8 +228,8 @@
228
}
229
],
230
"source": [
231
- "# datapath = \"Path to 'sts_gold_tweet.csv' \"\n",
232
- "df = pd.read_csv(\"/home/etherealenvy/Downloads/practical-nlp/Ch8/Data/sts_gold_tweet.csv\",\n",
+ "datapath = \"Path to repo\"\n",
+ "df = pd.read_csv(datapath+\"/practical-nlp/Ch8/Data/sts_gold_tweet.csv\",\n",
233
" error_bad_lines=False,delimiter=\";\")\n",
234
"df = df.dropna(how='any')\n",
235
"df.drop(columns=['id'], inplace=True)\n",
0 commit comments