Materials for D-Lab / UC Berkeley Graduate Division's Data Science for Social Justice summer workshop. These materials provide an introduction to Python, natural language processing, text analysis, word embeddings, and network analysis. They also include discussions on critical approaches to data science to promote social justice.
After Demo: Sentiment Analysis with spaCy and TextBlob, the notebook breaks because of this error UsageError: Line magic function %python not found (But cell magic %%python exists, did you mean that instead?).
In DataHub-
Under 'Removing Null Values', I had to change: df = df.dropna(subset='selftext')--> df = df.dropna(subset=['selftext']). The original gave this error: TypeError: Index(...) must be called with a collection of some kind, 'selftext' was passed