Skip to content

Instantly share code, notes, and snippets.

View simonlindgren's full-sized avatar
:octocat:
hello!

Simon Lindgren simonlindgren

:octocat:
hello!
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
print("Hello, world!")
group id
a name of a group 32923920293209320
a group called something 12902839210802198012
the group 9908908097409794
#!/usr/local/bin/python3
'''
FACEBOOK GROUP DATA DOWNLOADER
Put this file (fbg.py) in a directory alongside a file (groups.csv)
with two comma separated columns [group,id].
Add your personal FB credentials to this file (fbg.py, line 25-26).
Run fbg.py with Python in Terminal:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@simonlindgren
simonlindgren / vader.ipynb
Last active October 12, 2019 01:21
Sentiment analysis with VADER
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
'''
TOPIC TOP DOCUMENTS
'''
# Required libraries and settings
import re
import pandas as pd
pd.set_option('display.max_colwidth', -1)