Skip to content

JasonKessler/Scattertext-PyData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5e89280 · Jan 12, 2018

History

45 Commits
Jul 6, 2017
Jan 12, 2018
Jan 12, 2018
Jan 12, 2018
Jan 12, 2018
Jan 12, 2018
Jul 6, 2017
Jul 28, 2017
Jul 27, 2017
Jan 12, 2018

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