Skip to content

JasonKessler/Scattertext-PyData

Repository files navigation

Scattertext-PyData

Notebooks for the Seattle PyData 2017 talk on Scattertext

A guide to using the python package Scattertext. If you feel so moved, please star it, fork it, or even contribute!

Check out the introductory presentation here.

Video

Watch the PyData talk here

Using the notebooks

The notebooks look best in Chrome.

Slow but interactive way

In order to use these notebooks, please execute the following commands, please clone this repo and run (in Python 3):

$ git clone https://github.com/JasonKessler/Scattertext-PyData
$ pip3 install scattertext agefromname
$ cd Scattertext-PyData
$ jupyter notebook

Fast and non-interative way

  • First Notebook how to use Scattertext to visualize differences in document types. Conventions-Visualization.html
  • Second Notebook how to use Scattertext and AgeFromName to understand how lanugage, gender and political party intersect. Gender and Party
  • Third Notebook how to use Scattertext to visualize how the same word or semantic type is discussed different between document categories. In this case, we explore how "jobs" is discussed differently by Republicans and Democrats. Word representations