From 2fb1fd98ebeeeba093612b4b1d25d206773ca1b4 Mon Sep 17 00:00:00 2001 From: Ujjwal Karn Date: Thu, 5 Jul 2018 11:12:54 +0800 Subject: [PATCH 1/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 072136d..cdee5c1 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ - [Top voted Python data science questions](http://datascience.stackexchange.com/questions/tagged/python) - [Awesome Python - Data Visualization](https://github.com/vinta/awesome-python#data-visualization) - [Awesome Python - Map Reduce](https://github.com/vinta/awesome-python#mapreduce) +- [A Comprehensive Guide to Sentiment Analysis](https://monkeylearn.com/sentiment-analysis/) ## Pandas Library in Python - [Intro to pandas data structures](http://www.gregreda.com/2013/10/26/intro-to-pandas-data-structures/) From 02c13c5d9657ed47f536ddfc819e9f8bc24f37e7 Mon Sep 17 00:00:00 2001 From: Ujjwal Karn Date: Thu, 5 Jul 2018 11:15:53 +0800 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdee5c1..e0f40a8 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,6 @@ - [Top voted Python data science questions](http://datascience.stackexchange.com/questions/tagged/python) - [Awesome Python - Data Visualization](https://github.com/vinta/awesome-python#data-visualization) - [Awesome Python - Map Reduce](https://github.com/vinta/awesome-python#mapreduce) -- [A Comprehensive Guide to Sentiment Analysis](https://monkeylearn.com/sentiment-analysis/) ## Pandas Library in Python - [Intro to pandas data structures](http://www.gregreda.com/2013/10/26/intro-to-pandas-data-structures/) @@ -202,6 +201,7 @@ - [NLP Tutorial with Python](http://www.datasciencecentral.com/profiles/blogs/python-nlp-tools) ## Sentiment Analysis with Python +- [A Comprehensive Guide to Sentiment Analysis](https://monkeylearn.com/sentiment-analysis/) - [Twitter-Sentiment-Analysis](https://github.com/ujjwalkarn/Twitter-Sentiment-Analysis) - [Basic Sentiment Analysis with Python](http://fjavieralba.com/basic-sentiment-analysis-with-python.html) - [What is the best way to do Sentiment Analysis with Python?](https://www.quora.com/What-is-the-best-way-to-do-Sentiment-Analysis-with-Python-1) From 29286a52e0644892f1591e71985ec9241825d920 Mon Sep 17 00:00:00 2001 From: Samedhaa Date: Fri, 31 Aug 2018 23:41:01 +0300 Subject: [PATCH 3/4] commenting some commands commenting some commands --- basic_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basic_commands.py b/basic_commands.py index b15d929..8c401fc 100644 --- a/basic_commands.py +++ b/basic_commands.py @@ -1,5 +1,5 @@ >>> a = ['a', 'b', 'c', 'd', 'e'] ->>> for index, item in enumerate(a): print index, item +>>> for index, item in enumerate(a): print index, item # enumerate function will generate an index for the item + item it self. ... 0 a 1 b @@ -37,6 +37,7 @@ str1 = "this is string example....wow!!!"; str2 = "exam"; +# find function will print the position for the first character of the string if it's found! print str1.find(str2); print str1.find(str2, 10); print str1.find(str2, 40); From 5b2574f755698f71cbc011db8b1ea25a64caa7fb Mon Sep 17 00:00:00 2001 From: Shahul Es Date: Fri, 19 Oct 2018 22:18:16 +0530 Subject: [PATCH 4/4] renamed local file location --- Twitter-Data-Analysis/extract_twitter_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Twitter-Data-Analysis/extract_twitter_data.py b/Twitter-Data-Analysis/extract_twitter_data.py index b2558dd..178df35 100644 --- a/Twitter-Data-Analysis/extract_twitter_data.py +++ b/Twitter-Data-Analysis/extract_twitter_data.py @@ -28,7 +28,7 @@ class MyListener(StreamListener): def on_data(self, data): try: - with open('C:\\Users\\ujjwal.karn\\Desktop\\Tweets\\python.json', 'a') as f: #change location here + with open('location/file_name.txt', 'a') as f: #change location here f.write(data) return True except BaseException as e: